Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $mycon = mysql_connect("localhost","abc","abc");
- if (!$mycon) {
- die('Could not connect: ' . mysql_error());
- }
- mysql_select_db("abc",$mycon);
- $page = $_GET['page'];
- $name = $_GET['name'];
- $beachResult = mysql_query("UPDATE query where I update the name based on the page",$mycon);
- mysql_query($beachResult) or die('Error, could not insert.');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement