PHP|Débutant :: Forums


Besoin d'aide ? N'hésitez pas, mais respectez les règles

Vous n'êtes pas identifié(e).

#1 08-11-2017 10:58:52

Inscription : 04-11-2017
Messages : 2

How would I add to a dropmenu using php?


I'm looking to add items from a array to a dropmenu, however I'm only able to add the last item in the array.

What I'm trying to do is
1st, Load and display data from one database field, and display it on a web page.
2nd Write the data to an array for later use.
I'm able to achieve the above ok.

3rd Further down my web page, run the array, and place the array contense into a drop menu, however I can only get it to display the last entry, instead of all of the array.

I didn't find the right solution from the internet.
References: … =1&t=28272

Not pub !!!

Hors ligne

Pied de page des forums