Jump to content

Insert into database without moving to different page


FUNKAM35

Recommended Posts

What's so difficult about it?

 

<?php
...
If(isset($_POST['submit']){
$query = "...";
$result = mysql_query($query);
...
}
...
?>
<html>
<head>
...
</head>
<body>
...
<form action='post'>
...
<input type='submit' name='submit'>
</form>
...
</body>
</html>

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.