Read the page http://p2p.wrox.com/topic.asp?TOPIC_ID=17719. It explains a few ways to
solve you problem.
>
> From: "Nadim Attari" <[EMAIL PROTECTED]>
> Date: 2004/08/31 Tue AM 08:49:39 GMT
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Re: Database Error s
You get this notice because when the form is displayed, it means the data
has not been sent, hence $_POST is empty!
Add isset() in front of every $_POST and $_GET
Example:
if (isset($_POST['pp'] && $_POST['pp'] != 'addpost')
---
You may also add this line at the very top of the page!
This line