$_GET...again?
Posted: Fri Mar 18, 2005 3:43 am
i have an edit page here that has a query
$cid is
the cid is from another page that handles the edit link....
my problem is that this procedure prompts an error
Code: Select all
$query = "e;SELECT comment FROM comments WHERE postID = '"e;.$cid."e;'"e;;
$result = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_assoc($result) or die(mysql_error());Code: Select all
$cid = $_GETї'cid'];Code: Select all
$edit = '<a href="e;reportcommentedit.php?cid='.$_GETї'pid'].'"e; class=under>EDIT</a>';i cannot spot the problem....any help from you guys is much appreciatedUndefined index: cid in c:\inetpub\wwwroot\mysample\reportcommenteditbody.php on line 10