Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-30-2004, 07:25 PM   #1
LQ Newbie
Registered: Jan 2004
Distribution: Fedora Core
Posts: 5

Rep: Reputation: 0
Connecting to Mysql using PHP

I am using a php program that seems to work. I have tried everything to get it to work and send the data to mysql but when I send it. The input fields become blank and it executes my php script and tells me that is was entered but when I check the mysq database it is not there. Is there something special that I have to do to fedora to get php to talk to mysql.
Thanks for any help.
Old 01-31-2004, 11:20 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try adding die statelments to your mysql commands so you can see where the script is failing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
probs with connecting to mysql database using php ankscorek Linux - Software 4 08-16-2005 07:40 PM
Error connecting to MySQL from PHP anindyanuri Linux - Software 18 04-24-2005 09:30 AM
mysql and connecting from php on apache with moregroupware seriv Linux - Software 1 07-25-2003 08:11 AM
I need help connecting to mysql with php Pete Dogg Programming 4 06-08-2003 12:52 AM
connecting mysql by php norbs Linux - Software 1 07-25-2002 01:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration