Jump to content

[SOLVED] Can I add more forms?


Gayner

Recommended Posts

if(isset($_POST['avatar'])){
	 mysql_query("UPDATE ibf_members SET avatar='25' WHERE id={$ibforums->member['id']}");
	 header("Location: index.php?act=UserCP&CODE=Avatar");
}

 

I have this as my HTML:

 

Avatat url * <input type="text" name="avatar" value="">
<input type="Submit" value="Update Avatar">

 

How can I update another field name using only 1 mysql_query function too?

thx

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/169538-solved-can-i-add-more-forms/
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.