Dynamic MySql Update Query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Okay this is a tough one.
I want to make a dynamic mysql update query that takes results entered into 
a series of text boxes (changes from page to page) and then updates that 
record in my Mysql table.

the name of the form fields are $value[$x]
where 1 <= $x <= Total number of fields

===================================================

$query = "UPDATE ".$table." WHERE ".$table_headers[0]." = ".$id."
	VALUES

===================================================
I have gotten this far, but don't know where to go next.
check out www.filterseven.co.uk/admin/index.php
and if you check a table, and choose an edit query on one of the records to 
see what i am trying to do.

thank's for your time!
cheers,
David Rice



_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux