By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,652 Members | 1,905 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,652 IT Pros & Developers. It's quick & easy.

Parse error: syntax error, unexpected T_VARIABLE in

P: 1
echo '<p>Hello World</p>';

#connect to MySQL
$conn = @mysql_connect("localhost", "root", "root123")
or die("Err:Conn");

#select the Database
$rss = @mysql_select_db("Starlitecomponents", $conn)
or die("Err:Db")

#create the query
$sql_1=("select * from Product_Mast");

#execute the query

$rs_1=mysql_query($sql_1, $conn);

#write the data

while($row_1 = mysql_fetch_array($rs_1))



Sep 30 '11 #1
Share this Question
Share on Google+
1 Reply

P: 1,059
missing ; on one line
Oct 1 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.