} else {
echo("Oeps! None of the boxes selected.");
}
}
------------------------------------
When i select a box and post the form i get the following error:
Warning: Supplied argument is not a valid MySQL result resource in /opt/guide/www.webselect.nl/HTML/voorbeeld.php3 on line 30
Line 30 is the following piece of code:
while ($myrow = mysql_fetch_array($result))
I see your problem, that error means that the query is failing and the reason is because you have missed a quote off of your queries: e.g. You have
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
{$sql .= "webmail = '$webmail ";}
[/code]
it should be:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
{$sql .= "webmail = '$webmail' ";}
[/code]
------------------
Karl Austin KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
Bookmarks