I have a mess of variables I HTML from a couple of different
scripts, so I combined them into an include.inc.

But now, when I do this:

          $news = mysql_query('select * from ccl where ...
order by AU

          while ($personne = mysql_fetch_object($news))
          include "fields_to_include.inc";

of course my variables I now call in *.inc do not work. ...
So how do I make "$personne->AU" find it's original value
using that

<? php
content of fields_to_include.inc
global $personne->AU; #dedfinitely does not work
I have read the FAQ.

  if($personne->AU != ""){echo"<tr><td><b>&lt;<a

  if($personne->ST != ""){echo"<tr><td><b>&lt;<a

  if($personne->SD != ""){echo"<tr><td><b>&lt;<a

  if($personne->SC != ""){echo"<tr><td><b>&lt;<a


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to