Posted by tank Sat 24th Mar 2007 00:25 - Syntax is PHP - 52 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
  1.  
  2. include("open.php");
  3.  
  4. if ( isset($_POST['submit']) ){
  5.  
  6. $email = $_POST['email'];
  7.  
  8. $row = mysql_query (sprintf ('select email, f_name from users WHERE email LIKE %$email%', mysql_real_escape_string ($email, $mysql)));
  9.  
  10.  while ($row = mysql_fetch_assoc ($result)){
  11.        
  12.         echo $row['f_name'] . ' - ' . $row['email'] . '
    '
    . "\n\r";
  13.  
  14.  }
  15. }
  16. mysql_close($dbh);
  17. ?>

PermaLink to this entry https://pastebin.co.uk/12159
Posted by tank Sat 24th Mar 2007 00:25 - Syntax is PHP - 52 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers

 

Comments: 0