October 17th, 2007, 07:56 PM
php script error help?
Iv been following through a tutorial on making a news system with php and sql, after alof of noncing around iv managed to get most of the system to work except this error.
Parse error: syntax error, unexpected T_VARIABLE, expecting ']' in /home/welshywoo/www/read_more.php on line 5
Can anyone help me out with the syntax for this script?
$newsid = $_GET['newsid];
$result = mysql_query("SELECT * FROM news WHERE newsid='$newsid' ",$connect);
while($myrow = mysql_Fetch_assoc($result))
echo "</b><br>On: <i>";
echo " ";
By grindcore in forum Web Security
Last Post: August 30th, 2007, 04:33 AM
By nightcat in forum The Security Tutorials Forum
Last Post: May 28th, 2005, 02:47 AM
By PuReExcTacy in forum Web Security
Last Post: January 26th, 2005, 12:41 AM
By HDD in forum Other Tutorials Forum
Last Post: February 1st, 2004, 07:05 PM
By CyberSpyder in forum AntiOnline's General Chit Chat
Last Post: March 25th, 2003, 08:31 AM