View Single Post
Old 04-03-2006, 04:39 AM   · #14
Xyzer
Steven
 
Xyzer's Avatar
 
Name: Steven Gibbons
Location: United Kindom
Trader Rating: (45)
Join Date: Aug 2005
Posts: 1,506
NP$: 40.00 (Donate)
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
Tsunami Relief AIDS/HIV
Thanks, ive done a copy with my code and get this error:
Code:
Parse error: syntax error, unexpected $end in /home/gibbons/public_html/photoshop.php on line 37


In
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <?php $connect = mysql_connect("localhost", "dbun", "dbpw"); mysql_select_db("dbname", $connect); $select = mysql_query("SELECT * FROM `tutorials`", $connect); while($row = mysql_fetch_array($select, MYSQL_ASSOC)) { $id = $row['id']; $name = $row['name']; $email = $row['email']; $category = $row['category']; $url = $row['url']; $url2 = $row['url2']; $WebsiteName = $row['WebsiteName']; $TutorialName = $row['TutorialName']; $description = $row['description']; if ($category == "Photoshop"){ echo " <p> <strong>Tutorial Name:</strong> <a href=\"$url2\">$TutorialName</a><br />\n <strong>Submitted By:</strong> <a href=\"$url\">$WebsiteName</a><br />\n <strong>Description:</strong> $description </p>"; } else { echo "Sorry, There are currently no tutorials in this category."; } ?> </body> //LINE 37 BELOW </html>


Please register or log-in into NamePros to hide ads
Xyzer is offline   Reply With Quote
Site Sponsors
http://www.mobisitetrader.com/ http://www.mobisitetrader.com/ http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 08:25 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.