I realise it's just a notice but this suggests to me that I should sort out the problem, notice or not. This notice originates from a form which submits to a file which processes the fields and then sends.
First off then, these are the notices;
Notice: Undefined index: advice in D:\***\thanks.php on line 10
Notice: Undefined index: ukeurope in D:\***\thanks.php on line 30
Notice: Undefined index: usacanada in D:\***\thanks.php on line 31
Notice: Undefined index: other in D:\***\thanks.php on line 32
And here is the corresponding code in the processing page;
10 if ( $_POST['advice']) {
30 $ukeurope = $_POST['ukeurope'];
31 $usacanada = $_POST['usacanada'];
32 $other = $_POST['other'];
I've read somewhere that it's due to me not doing this:
$advice = $_POST['advice'];
Would this be the case do you think?
Hope someone can help with this as I'd really like to do this correctly!
Rob











Bookmarks