Thread
:
using ?id=$id from a mysql table in php
View Single Post
#
13
(
permalink
)
06-30-04, 06:38 PM
infinitylimit
Code Guru
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
Yeap
change
$ID=$_GET['ID'];
to
$ID=$_GET['id'];
array keys are case-senisitive.
for good measure also change this
$result=mysql_query($query)
to
$result=mysql_query($query) or die(mysql_error() . ':' . $query);
Hope that helps.
__________________
Hawk Enterprises
-- Home to PHP games, open-source code, tutorials and free downloads
infinitylimit
View Public Profile
Visit infinitylimit's homepage!
Find all posts by infinitylimit