Anything outside of the <?php ?> tags doesn't affect PHP one way or the 
other, as long as it doesn't contain any of the strings like <?php, ?> etc 
that turn PHP parsing on and off.  So I don't think the JavaScript or 
IFrames would affect it.

-Mike

At 12:31 PM 3/29/2002 -0600, Todd WIlliamsen wrote:
>Parse error line 117... there is no line 117..hehe!!  I am thinking that PHP
>doesn't like IFrames, or Javascript, or maybe just me?
>
>Here is the code:
>
><? include "variables.php"; $connection = @mysql_connect("$dbserver", 
>"$dbuser", "$dbpass") or die("Couldn't connect to database"); $db = 
>@mysql_select_db($dbname, $connection) or die("Could not select 
>datababse"); $sql = "SELECT id, news FROM $editortable ORDER BY id"; 
>$result = @mysql_query($sql,$connection) or die("Could not execute 
>query"); while ($row = mysql_fetch_array($result)) { $id = $row['id']; 
>$news = $row['news']; echo "$news"; ?>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to