php form problem

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
jacquesy
New php-forum User
New php-forum User
Posts: 12
Joined: Tue Jan 21, 2003 2:27 pm

Sat Jan 25, 2003 6:06 am

I'm using a php page to display values on a database.

The form action is itself (php_self). It's working ok except for when the page is first viewed the error message:

PHP Notice: Undefined index: manufacturer.....

I think this is because the manufacturer doesn't have a value until the form is submitted.

I'm using:

$manufacturer = $_REQUEST["manufacturer"];

This problem only occurs on my localhost, please help!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests