jamesxg1 Posted June 23, 2009 Share Posted June 23, 2009 <?php session_start(); inlcude 'includes/Functions.php'; inlcude 'includes/Connection.php'; $username = $_SESSION['username']; $artists = ceil(mysql_num_rows(mysql_query("SELECT * FROM music WHERE username = '$username'"))); print "$artists"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/163375-solved-error-that-from-what-i-can-see-dont-exist/ Share on other sites More sharing options...
jamesxg1 Posted June 23, 2009 Author Share Posted June 23, 2009 Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\Login\Account.php on line 3 Sorry forgot to post that part lol. Quote Link to comment https://forums.phpfreaks.com/topic/163375-solved-error-that-from-what-i-can-see-dont-exist/#findComment-862012 Share on other sites More sharing options...
flyhoney Posted June 23, 2009 Share Posted June 23, 2009 Check your spelling yo! <?php session_start(); include 'includes/Functions.php'; include 'includes/Connection.php'; $username = $_SESSION['username']; $artists = ceil(mysql_num_rows(mysql_query("SELECT * FROM music WHERE username = '$username'"))); print "$artists"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/163375-solved-error-that-from-what-i-can-see-dont-exist/#findComment-862015 Share on other sites More sharing options...
jamesxg1 Posted June 23, 2009 Author Share Posted June 23, 2009 Check your spelling yo! <?php session_start(); include 'includes/Functions.php'; include 'includes/Connection.php'; $username = $_SESSION['username']; $artists = ceil(mysql_num_rows(mysql_query("SELECT * FROM music WHERE username = '$username'"))); print "$artists"; ?> OMG!, That was so obvious !, Im so sorry, Thanks for your help flyhoney. Quote Link to comment https://forums.phpfreaks.com/topic/163375-solved-error-that-from-what-i-can-see-dont-exist/#findComment-862017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.