Re: [PHP-DB] help please!!!!!!!!!! From: Daniel Rezny (dr <email protected>)
Date: 12/19/00

Hello Salim,

Tuesday, December 19, 2000, 8:07:57 AM, you wrote:

SM> can someone tell me what's wrong with this script please,

SM> line01: echo "<a href="#"
SM> onClick="MM_goToURL('parent.frames[\'mainFrame\']','ideo1.php3?numero=".$row
SM> [numero]."');
SM> line02: return document.MM_returnValue">";
SM> line03: echo '<IMG SRC="IMAGES/BD/';
SM> line04: echo $row[numero];
SM> line05: echo '.jpg" border="0"></a>';

SM> i get the following error message:
SM> Parse error: parse error, expecting `','' or `';'' on line 03

SM> help please
SM> thanks you for anwering
SM> salim

In line 03 you have to close every line with quotes. And give back
slash in front of qoutes. It will looks like this. echo '<IMG SRC=\"IMAGES/BD/';
                                                     echo $row[numero];
                                                      echo '.jpg\"
                                                      border=\"0\"></a>';

I hope it helps

-- 
Best regards,
 Daniel                            mailto:dr <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>