Well, depending upon what version of PHP and MySQL server you're running, and how you have your SQL database setup, and how you want the data stored (new row? overwrite the old data? ...?), you'd use either the [man]mysql[/man] or [man]mysqli[/man] extension (or others, such as [man]PDO[/man]) to perform the necessary INSERT or UPDATE query.