Select from field

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Arsench2000
Forum Commoner
Posts: 38
Joined: Sat Sep 15, 2007 8:18 pm

Select from field

Post by Arsench2000 »

Hello world,Im a begginer in php and have a problem please can you help me?
I have a 2 file in php. First list.php and the 2-nd catsel.php.

In the catsel.php have a field category and I want when the user selects the category name (which are in db already) it open the list.php and shows only the category selected by user.

please what can I do?

Thanks
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Have you done anything yet?
The first step would be to create the form...

Post the form and use the posted data to determine the rest.
Arsench2000
Forum Commoner
Posts: 38
Joined: Sat Sep 15, 2007 8:18 pm

Post by Arsench2000 »

superdezign wrote:Have you done anything yet?
The first step would be to create the form...

Post the form and use the posted data to determine the rest.
Hi thanks for your answer I have a form where you can insert data into db,but now I have a only one field for a select category.

I can select all, but dont know what code use to select only from the category field
Post Reply