Hello all! I am in need of some PHP/MySQL help. I made a PHP script that gets some info form my database and echo's them on a (html) table. On my "Status" table row, I want to be able to change it from either Available or Unavailable. How would I go by doing that? Please let me know if I didn't make myself clear enough. Thanks.
Do you know about mysql (select,insert,update,delete)? Techbabu --------------- Don't just make a website: make an impact
If there is only one status option try something like: mysql_query("UPDATE prefix_table SET Status='Available'"); PHP: And vice versa for the other. If you have multiple ones, add a WHERE ID='ID#' (if you're using ID's) use your unique primary key to set that so it doesn't conflict with other entries. Regards, Dennis M.