DJ_Zed Posted April 26, 2007 Share Posted April 26, 2007 Parse error: syntax error, unexpected T_STRING in /home/habzfm00/public_html/pokemon/login.php on line 19 I dont understand and heres the line that dunt work Line 19 $query = “select * from users where username= "$username" and password= "$password"; Can somebody fix it thanks Link to comment https://forums.phpfreaks.com/topic/48799-t_string-error/ Share on other sites More sharing options...
kenrbnsn Posted April 26, 2007 Share Posted April 26, 2007 You're using the wrong types of quotes. Do not use smart quotes. Change the line to: <?php $query = "select * from users where username= '$username' and password= '$password'"; ?> Ken Link to comment https://forums.phpfreaks.com/topic/48799-t_string-error/#findComment-239140 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.