Jump to content


Contact Form And Web Databases


3 replies to this topic

#1 cessnakid

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 22 January 2007 - 11:35 AM

I was wondering the easiest way to send contact form information to a web database, and perhaps store it in a excel type document...

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 22 January 2007 - 02:16 PM

Good luck storing it in an excel document. Luckly, excel reads comma seperated files (csv), so you could easily use one of those in conjunction with some of the file functions in php.

Best way to send it to a database would probably mySQL. Check the tutorial section here and php.net for more info.

#3 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 22 January 2007 - 07:31 PM

I've read stuff dealing with Excel and PHP before...

http://www.pixel2life.com/tutorials/count/...site_using_php/
http://www.pixel2life.com/tutorials/count/...mysql_to_excel/

Isn't it amazing how many results you can get from simply searching?

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 24 January 2007 - 01:38 AM

Come on guys, is that anyway to treat a new member? He has one post and you're already giving him flack for not searching... have a little more respect.

p.s. In my defense, phpfreaks is using a tab seperated file, i suggested csv... same thing :)

Edited by rc69, 24 January 2007 - 01:38 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users