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
Select from field
Moderator: General Moderators
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
-
Arsench2000
- Forum Commoner
- Posts: 38
- Joined: Sat Sep 15, 2007 8:18 pm
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.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.
I can select all, but dont know what code use to select only from the category field