Re: Parse Error(Newbie)
| From: | Rénald CASAGRAUDE | Date: | Thu, 23 May 2002 12:37:30 +0000 |
| Subject: | Re: Parse Error(Newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98901@lists.php.net to get a copy of this message | ||
On jeudi, mai 23, 2002, at 01:27 , Nick Wilson wrote:
No ! echo '\">'; will print : \"> Your line 114 is good I don't see the problem but why not code like this : while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo '<A HREF="' . $row['url'] . '">'.$row['site'].'</A>'; } If you don't see where is your problem, try to comment some lines. Start with line 114... and execute your script to see what happened. R.I get a parse error on line 114 can anyone see the problem? Sorry if it is something obvious :} for ($i=0; $i <$num_results; $i++) 110. { 111. $row = mysql_fetch_array($result); 112. echo '<a href="'; 113. echo $row['url']; 114. echo '">';Have you tried escaping the double quotes? echo '\">';