Page 1 of 1

Select from field

Posted: Sun Sep 23, 2007 9:19 am
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

Posted: Sun Sep 23, 2007 9:34 am
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.

Posted: Sun Sep 23, 2007 10:55 am
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