//check for required fields from the form
if ((!$_POST[topic_owner]) || (!$_POST[topic_title])|| (!$_POST[post_text])) {
header(Location: addtopic.html);
exit;
}
The $_POST is an associative array and the key names need to be
wrapped by commas. The same error is happening on your local
Dear Friends,
I have a reply form which writes to database, however it gives an error
posted below.
Guidance, please.
--
---
Error when I keep op like 'op'
Can you access the other POST variables, if not put quotation marks around
method=post, also try using instead of op something else...
Kind Regards
Arné Klopper
NetCB Solutions (Pty) Ltd.
www.netcb.com
Office: +27 12 997 3007
Fax: 27 12 997 3629
Mobile:
Dear friends,
My form works on localhost and writes to mysql database with php script,
however
when I use same form on server over the internet, it writes to mysql
database, that means no connection problem,
however it gives me error stated below.
Guidance, please.