Jump to content


This topic is now archived and is closed to further replies.


editing mysql

Recommended Posts

//Store username and pass

//Pulls From Form

@mysql_select_db($database) or die( "Unable to select database");

if($name != ""){

$query = "UPDATE links SET category='$category', name='$name', description='$description', link='$link',  mirror='$mirror' WHERE id='$id' ";

<style type=\"text/css\">
body {
    background-color: #666666;

<div align=\"center\"><font color=\"#FFCC00\" face=\"Arial, Helvetica, sans-serif\">Record Updated. </font></div>

<meta http-equiv="refresh" content="2;URL=************">[/code]

Share this post

Link to post
Share on other sites
Try to change this bit of code:
[code]mysql_query($query) or die(mysql_error())[/code]
It will at least tell you what happened if the query fails.

Also, what happens ? Will it output the "Record Updated" page?

Share this post

Link to post
Share on other sites


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.