Search found 4 matches
- Wed May 23, 2012 12:53 am
- Forum: Tutorials
- Topic: mailingList tutorial
- Replies: 6
- Views: 1366
Re: mailingList tutorial
In your add_user() function the table and columns names in the SQL should have backticks around them instead of quotes ' Other than that, check your form inputs to make sure they have the correct names I guess. Thank you so much! :) I thought it was just a different font. Didn't realise that the ` ...
- Mon May 21, 2012 4:07 pm
- Forum: Tutorials
- Topic: mailingList tutorial
- Replies: 6
- Views: 1366
Re: mailingList tutorial
Okay, does this prove that it is the mysql_select_db('mailing_list'); is the problem? I threw in or die(); statements so now my /core/init.inc.php file looks like <?php mysql_connect('localhost','USERNAME','PASSWORD') or die("Error1"); mysql_select_db('mailing_list') or die("Error2&qu...
- Mon May 21, 2012 3:58 pm
- Forum: Tutorials
- Topic: mailingList tutorial
- Replies: 6
- Views: 1366
Re: mailingList tutorial
>_< Blast the devil; yah I have <?php mysql_connect('localhost','USERNAME','PASSWORD'); mysql_select_db('mailing_list'); $path = dirname(__FILE__); include("{$path}/inc/mail.inc.php"); ?> for my /core/init.inc.php file, I just typed it wrong it my post >_< So I believe its correct. mysql_s...
- Mon May 21, 2012 2:38 pm
- Forum: Tutorials
- Topic: mailingList tutorial
- Replies: 6
- Views: 1366
mailingList tutorial
So I'm following the [youtube]http://www.youtube.com/watch?v=dQBFBuYyHVk[/youtube] tutorial and I've run into a bit of a problem. No matter what I do I can not get my signup.php form to insert into the database. I think I'm having a bit of a problem with the mysql_select_db(); function as no matter ...