[SOLVED] Notice: Undefined index: error
Posted: Wed Oct 19, 2005 12:15 pm
made my first project in php
actuly change it from java to php to run on our hosts site.
getting some errors
cant figure out why?
Heres the site
http://www.datainfinity.com/tmp/maplinks.php
and heres the code
line 50:
lines 56, and 62 are the same with diffrent GET parameters (edit and delete)
i know this isnt the most efficent way but i started learning php last night.
thanks guys
Neill
actuly change it from java to php to run on our hosts site.
getting some errors
cant figure out why?
Heres the site
http://www.datainfinity.com/tmp/maplinks.php
and heres the code
line 50:
Code: Select all
if ($_GET['add'] == 'Add')
{
$insert =" INSERT INTO maplinks (name, url, description) " . " VALUES('" . $_GET['name'] . "','" . $_GET['url'] . "','" . $_GET['description'] . "') ";
$results=mysql_query($insert) or die('could not submit query ' . mysql_error());
}i know this isnt the most efficent way but i started learning php last night.
thanks guys
Neill