Jump to content

Retrive Multiple ID's


Andy11548

Recommended Posts

Hey,

 

I'm trying to make a delete button for each post made to my site, how would I construct this to work?

 

I'm holding a hidden input field with the value of the ID, how would I retrive all the ID's from the input field.

 

EXAMPLE:

 

<input type="hidden" class="news_id" value="8" />

<input type="hidden" class="news_id" value="4" />

<input type="hidden" class="news_id" value="2" />

 

How would I get all of the different ID's from the input fields, with the same class name?

 

Thanks,

Andy.

Link to comment
https://forums.phpfreaks.com/topic/242997-retrive-multiple-ids/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.