Search found 9 matches

by efriese
Sat Feb 21, 2004 1:45 pm
Forum: PHP - Code
Topic: MySQL to Excel Problems (fixed)
Replies: 4
Views: 820

Found the error. I forgot to specify the database...thanks for the help!
by efriese
Sat Feb 21, 2004 1:33 pm
Forum: PHP - Code
Topic: MySQL to Excel Problems (fixed)
Replies: 4
Views: 820

The username and password is right. Any other ideas?
by efriese
Sat Feb 21, 2004 1:25 pm
Forum: Databases
Topic: Form Variables Problem (fixed)
Replies: 2
Views: 649

Thanks for pointing that out! Its working fine now.
by efriese
Sat Feb 21, 2004 1:14 pm
Forum: PHP - Code
Topic: MySQL to Excel Problems (fixed)
Replies: 4
Views: 820

MySQL to Excel Problems (fixed)

I'm trying to export a mysql data base to an excel file. I got the following code off star geek: <?php //Written by Dan Zarrella. Some additional tweaks provided by JP Honeywell //pear excel package has support for fonts and formulas etc.. more complicated //this is good for quick table dumps (deliv...
by efriese
Sat Feb 21, 2004 12:45 pm
Forum: Databases
Topic: Form Variables Problem (fixed)
Replies: 2
Views: 649

Form Variables Problem (fixed)

I'm trying to use an online form to enter information into a mySQL database. Some of my variables are making it into the database, some of them aren't. Here's my code: mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database"); @mysql_select_db("$DBName") or d...
by efriese
Tue Feb 10, 2004 1:41 am
Forum: Databases
Topic: Inserting into mySQL database using a form
Replies: 10
Views: 1097

All the variables are being passed, I checked that first! Hmmm...I don't think it is connecting properly, but I am not getting an error. This is really starting to bug me...
by efriese
Mon Feb 09, 2004 9:36 am
Forum: Databases
Topic: Inserting into mySQL database using a form
Replies: 10
Views: 1097

I did not turn magic quotes on because I've always been told that they can be trouble. I'm not sure if the server default is for them to be on, but I do not have access to the php.ini file or the .htaccess file. Thank you for the suggestions. I made the changes....but I am still not getting anything...
by efriese
Sun Feb 08, 2004 11:31 pm
Forum: Databases
Topic: Inserting into mySQL database using a form
Replies: 10
Views: 1097

A book that I have said to do the stripping first, but maybe I misunderstood. I made the corrections that you suggested and it still did not fix my problem. Any other ideas? Thanks for your help.
by efriese
Sun Feb 08, 2004 10:25 pm
Forum: Databases
Topic: Inserting into mySQL database using a form
Replies: 10
Views: 1097

Inserting into mySQL database using a form

I'm trying to use a simple form to add information to a mySQL data base. I can't see what is wrong with me code. I can hit submit and it seems to work, but when I log in to the mySQL server and use select event from report, it says that it is empty. Here's the code, any help would be much appreciate...