Posted by tank Sat 24th Mar 2007 00:36 - Syntax is PHP - 89 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. $result = mysql_query (sprintf ('select email, f_name from users WHERE email LIKE %%%s%%', mysql_real_escape_string ($email, $dbh)));
  9.  while ($row = mysql_fetch_assoc ($result)){
  10.        
  11.         echo $row['f_name'] . ' - ' . $row['email'] . '
    '
    . "\n\r";
  12.  
  13.  }
  14. }
  15. mysql_close($dbh);
  16. ?>

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

 

Comments: 0