Hi everyone,
I'm sure this has been asked a lot before, but I can't find an answer I can use anywhere...
I have a database of web links with column titles:
name | url | description | username | password
and a php page built which shows the entries.
I now want people to be able to enter/delete/edit these entries from a web page...
can anyone help me out at all there please?
is there some standard, much-used code to do this?
If it help, my current connection details are:
<?
$dbuser = 'root';
$dbhost = 'localhost';
$dbpass = '******';
$dbname = 'links';
$dbtable = 'technical';
$mysql_link = mysql_connect($dbhost,$dbuser,$dbpass);
$column = mysql_list_fields($dbname,$dbtable,$mysql_link);
$sql = "SELECT id, name, descript, url, username, password FROM $dbtable ORDER BY name";
$result = mysql_db_query($dbname,$sql);
?>
thankyou very much - dunstan orchard
I'm sure this has been asked a lot before, but I can't find an answer I can use anywhere...
I have a database of web links with column titles:
name | url | description | username | password
and a php page built which shows the entries.
I now want people to be able to enter/delete/edit these entries from a web page...
can anyone help me out at all there please?
is there some standard, much-used code to do this?
If it help, my current connection details are:
<?
$dbuser = 'root';
$dbhost = 'localhost';
$dbpass = '******';
$dbname = 'links';
$dbtable = 'technical';
$mysql_link = mysql_connect($dbhost,$dbuser,$dbpass);
$column = mysql_list_fields($dbname,$dbtable,$mysql_link);
$sql = "SELECT id, name, descript, url, username, password FROM $dbtable ORDER BY name";
$result = mysql_db_query($dbname,$sql);
?>
thankyou very much - dunstan orchard