On Wednesday 29 May 2002 21:13, [EMAIL PROTECTED] wrote:
> Here is the function:
>
> function print_new_story(){
> $query = "SELECT * FROM news ORDER BY id DESC LIMIT 1";
> $result = mysql_query($query);
> $num_results = mysql_num_rows($result);
>
> for ($i=0; $i < $num_results; $i++)
>   {
>      $row = mysql_fetch_array($result);
>      echo '<h2><a href="#">: ';
>      echo $row['title'];
>      if(!$row['date'] == 0){
>      echo ' - ';
>      echo date("d-M-y", $row['date']);
>      }
>      echo ' :</a></h2><br>';
> include $row['int_location'];
>   }
>
> }
>
> and here is the error message:
> Parse error: parse error in \\johnh\c\co2 busters\includes\functions.php on
> line 81

We're not mind readers, which is line 81?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Would it help if I got out and pushed?
                -- Princess Leia Organa
*/


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

Reply via email to