writitng data from php to mysql

Reply

Join Date: Oct 2006
Posts: 14
Reputation: Andy-Pandy is an unknown quantity at this point 
Solved Threads: 0
Andy-Pandy Andy-Pandy is offline Offline
Newbie Poster

Re: writitng data from php to mysql

 
0
  #11
Mar 20th, 2007
People can easily come with sql-injections if you use that code.

You have to use for example mysql_real_escape_string or something else. Read about safety at php.net
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,160
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 531
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: writitng data from php to mysql

 
0
  #12
Mar 20th, 2007
first try (well apart from phpinfo; - thats basically phps hello world)

i already knew SQL SELECT statements and basic HTML so i got a book on PHP and after seeing generally how things were done, i decided to make thay
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 5
Reputation: niceboy is an unknown quantity at this point 
Solved Threads: 0
niceboy niceboy is offline Offline
Newbie Poster

Re: writitng data from php to mysql

 
0
  #13
Mar 24th, 2007
if you are still having the problem, in which line the error is being indicated?
Common pc problems and solutions ~ free Proxy list
Why spend money on hosting? Chose your free hosting provider at : Free Hosting World
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC