3NG4G3 Posted July 12, 2009 Posted July 12, 2009 if($db->num_rows($uq) == 0) { die("I'm sorry a user doesn't exist with that ID!"); } thats the line 23 ... Fatal error: Call to undefined function row() in /*********/*****.php on line 23 Quote
Strats Posted July 12, 2009 Posted July 12, 2009 Re: Little Error What file has an error? Thats not helped much. Quote
CrazyT Posted July 12, 2009 Posted July 12, 2009 Re: Little Error Fatal error: Call to undefined function row() in /*********/*****.php on line 23 It's saying there is no function called row()..... Quote
Dave Posted July 12, 2009 Posted July 12, 2009 Re: Little Error Fatal error: Call to undefined function row() in /*********/*****.php on line 23 It's saying there is no function called row()..... Yet on that line there is no function being called with the name of row(), So you really need to post atleast 10 lines. Quote
3NG4G3 Posted July 12, 2009 Author Posted July 12, 2009 Re: Little Error Ok here goes { die("You have already sent this user a proposal! [url='index.php']Back[/url] "); } else { $uq=$db->query("SELECT * FROM users WHERE userid=$_GET[iD]"); if($db->num_rows($uq) == 0) { die("I'm sorry a user doesn't exist with that ID!"); } if($_POST['reason'] and $_POST['user'] and $_POST['propose']) { $_POST['reason']=str_replace(row("<",">","/n"), row("",""," "), $_POST['reason']); $_POST['reason']=$_POST['reason']." [b]$ir[username] proposed to you with a [b]$_POST[propose][/b]!"; Quote
Dave Posted July 12, 2009 Posted July 12, 2009 Re: Little Error { die("You have already sent this user a proposal! [url='index.php']Back[/url] "); } else { $uq=$db->query("SELECT * FROM users WHERE userid=".$_GET[iD]); if($db->num_rows($uq) == 0) { die("I'm sorry a user doesn't exist with that ID!"); } if($_POST['reason'] and $_POST['user'] and $_POST['propose']) { $_POST['reason']=str_replace(row("<",">","/n"), row("",""," "), $_POST['reason']); $_POST['reason']=$_POST['reason']." [b]$ir[username] proposed to you with a [b]$_POST[propose][/b]!"; Hopefully Quote
AlabamaHit Posted July 12, 2009 Posted July 12, 2009 Re: Little Error Yeah that should do it. ".$_GET['ID']." or like he has it. ".$_GET['ID'] works fine, or ghetto look. {$_GET["ID']} LOL Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.