I have upgrade from PHP 4.1.1 to 4.2.1
Now several things have stoppede working.
for instance this piece of code:
$foresp = mysql_query("SELECT id, overskrift, tekst, billede1, billede2, billede3 FROM artikel WHERE id='$id'");
while($data = mysql_fetch_array($foresp)){
extract ($data);
results in this errormesssage:
Notice: Undefined variable: id in c:\inetpub\wwwroot\vakkweb\vakkcontent.php on line 50
The id coms from another page via this code:
require ("vakkcontrol/mysqlvakk.php");
$foresp = mysql_query("SELECT id, overskrift FROM artikel ORDER BY id DESC");
while($data = mysql_fetch_array($foresp)){
extract ($data);
echo "<B CLASS=art>$overskrift</B> ";
echo "<A HREF='vakkcontent.php?id=$id'>Læs...</A><BR>";
}
And it really worked under PHP 4.1.1
Whats going on???
I seem to have run in to a lot of troubles with undefined variables.
Sincerely
Kurt