Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

html form connect to mysql database


  • Please log in to reply
13 replies to this topic

#13 gregwarner


    Obi Wan of Programming

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1586 posts
  • Location:Arkansas
  • Programming Language:C, Java, C++, C#, PHP, Transact-SQL

Posted 06 March 2012 - 06:12 AM

I don't have enough information to tell you if it's your code or something else that's causing the error.

Please post your most recent updated code (both the HTML and the PHP). Also, please post your code between the CODE tags (it's the # button on the editor toolbar) so your code will be more readable.
  • 0

Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid

#14 GuischardXavierCharles


    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 09 November 2012 - 08:10 AM

I had this same problem yesterday, and I'm too am a novice to this php thing. But my problem was that I was not addressing it from my localhost / or the server. So try using XAMPP and place the file in your C:\xampp\htdocs\ and test the script in your web browser with LocalHost/<file>.html .

I hope it isn't too late.
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download