I have to subscribe to the mailing list now, in order to use the news group? Somebody has some work to do :)
> Sorry for the hassle, but the volume of unsolicited commercial > email sent to PHP mailing lists has made this step necessary. Yeah but it's supposed to be a news server??!! Here's my question: »:) I have a mess of variables I HTML from a couple of different scripts, so I combined them into fields_to_include.inc So now, I do this: $news = mysql_query('select * from ccl where ... order by AU asc'); 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 *.inc? ---This is my fields_to_include.inc file: ------------------------------ <? 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><<a href=\"javascript:displayHelp('codes.htm#AU');\ ">AU</a>></b></td><td>".$personne->AU."</td></tr>\n";} if($personne->ST != ""){echo"<tr><td><b><<a href=\"javascript:displayHelp('codes.htm#ST');\ ">ST</a>></b></td><td>".$personne->ST."</td></tr>\n";} if($personne->SD != ""){echo"<tr><td><b><<a href=\"javascript:displayHelp('codes.htm#SD');\ ">SD</a>></b></td><td>".$personne->SD."</td></tr>\n";} if($personne->SC != ""){echo"<tr><td><b><<a href=\"javascript:displayHelp('codes.htm#SC');\ ">SC</a>></b></td><td>".$personne->SC."</td></tr>\n";} ?> -- 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]