hey hello this is my first time.....
i wan't to ask in php, how we can update a table without a submit(button)...is that possible?if yes tell me how?tq everybody

Recommended Answers

All 2 Replies

I'd suggest using a cron job if no use input is required & you just need a script to auto update. http://www.unixgeeks.org/security/newbie/unix/cron-1.html

If you require user input I'd suggest looking in to JQuery fr options. I'm afraid I'm unsure if you are able to insert user data into a database without a submit button. You might want to check this link out. http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form/ as an example.

Hi sesaz1;

It's hard to answer without more information.

Can you tell us a little more about your requirement? Also, I assume you're talking about updating a database table, not an HTML table on a page.

Certainly, it's possible to update a database table without anyone clicking 'submit', but we'd need more information about what you're trying to do if we are to help you much.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.