Thanks for your time on this. I tried the change. With the added } I now get this error: Parse error: parse error, unexpected '{' in /home/virtual/site132/fst/var/www/html/validateloginsys.php on line 11 using this code: <?php $connection = mysql_pconnect("localhost",$login,$password); mys...
Hmm, not too sure what it could be, it looks fairly clean -- you might want to check your '}'s though. If that's the entire script, you're missing a closing brace, but I suspect you just posted a part of the script, so it should be alright. That is the whole script, actually... Where would the clos...
If its the last line, you might want to try changing the $mysql_pconnect to $connection, since that's the name of the variable you used at line 2; and as mysql_pconnect is a function name it might be getting confused.
If its the last line, you might want to try changing the $mysql_pconnect to $connection, since that's the name of the variable you used at line 2; and as mysql_pconnect is a function name it might be getting confused.
Can some kind soul tell me what I'm doing wrong with this code? It's throwing a "Parse error: parse error, unexpected $ in /home/virtual/site132/fst/var/www/html/validateloginsys.php on line 19" message. The db name, $login & $password have been left out for posting here). It's a valid...