ome debugging :
$connection = mysql_connect(...) or die(mysql_error());
What do you get ?
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
t found';
Regular Expressions are always a better and more elegant solution so
take a look at www.php.net/preg
These were my 0,02$
--
Josip Dzolonga
http://josip.dotgeek.org
jdzolonga[at]gmail.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t/dbx and here
http://pear.php.net/package/DB .
--
Josip Dzolonga,
dzolonga at mt dot net dot mk
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2005-01-28 at 14:21 +, Mark Benson wrote:
> Is there an easy way to search and replace/remove characters in a string in
> PHP?
www.php.net/str_replace , www.php.net/preg_replace . You can strip out
the - characters with str_replace("-", "", $string);
--
J
t_password"]) . "' LIMIT 1";
$result = mysql_query($sql, $dbHandle);
if(mysql_num_rows($result)!=0) /* Logged on */
else /* Invalid Username/Password */
There're lots of tutorials out there, google's your friend.
P.S. This is my first message on this maillist so I