I have installed PHP 5.3 along with Apache 2.2 and gives me headaches !!!!!!
I coded using PHP 4.3 and good'ol Apache 1.3 and everything was fine. I have this while loop:
$query = "SELECT name FROM $artist_info WHERE genre = $gID $limit_str";
$result = mysql_query($query);
while($query_data = mysql_fetch_array($result)) {
$name = $query_data["name"]; }
PHP 4 displayed no errors. But PHP 5 gives "parse error, expecting T_STRING' orT_VARIABLE' or `T_NUM_STRING'" on the line where $name = $query_data ["name"]; --- should the var $name be registered first? I registered it, but it won't work still. ( I don't think you need to register it since it is not passed through the HTTP header? Or does it? HELP!!!
Thank you.