All pastes #170448 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-09-14 16:29 UTC
rendered paste body
ERROR: Unknown Punctuation String @ 413
STR: /><
SQL: select title,position,url,category,technology,location,status,comments,photo_location from clients");
while ($row = mysql_fetch_array($sql)) {
		
$title = $row['title'];
$position = $row['position'];
$url = $row['url'];
$category = $row['category'];
$technology = $row['technology'];
$location = $row['location'];
$status = $row['status'];
$comments = $row['comments'];
$photo = $row['photo_location'];
echo
"<br/><b>$title</b><br/>
$position<br/>
$url<br/>
$category<br/>
$technology<br/>
$location<br/>
$status<br/>
$comments<br/>
<img src=\"http://mm214.com/dleynes/MM3304_Final/$photo\" />
<br/>
"

SQL-query : 

select title,position,url,category,technology,location,status,comments,photo_location from clients"); while ($row = mysql_fetch_array($sql)) { $title = $row['title']; $position = $row['position']; $url = $row['url']; $category = $row['category']; $technology = $row['technology']; $location = $row['location']; $status = $row['status']; $comments = $row['comments']; $photo = $row['photo_location']; echo "
$title
$position
$url
$category
$technology
$location
$status
$comments

"

MySQL said:

You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '");
while ($row = mysql_fetch_array($sql)) {
		
$title = $ro