View Single Post
  #4 (permalink)  
Old 02-10-2008, 03:55 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,428
Last Blog:
Google Web Toolkit
Credits: 1,208
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

PHP Code:
$query mysql_query("SELECT * FROM `download` WHERE id='".mysql_real_escape_string($id)."'"); 
As opposed to
PHP Code:
$query mysql_query("SELECT * FROM download WHERE id='".$id."'"); 
doesn't make it much more complicated - but does make it a heck of a lot more secure. But nice tutorial none-the-less. What does the "ENGINE = InnoDB " at the end of the SQL table mean?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Reply With Quote