Hello I am blind or something i am having the hardest time getting my form to post data to my DB. Its very simple form. only 3 fields. My coding is very poor so any help with getting this to work and on clean up would be nice.
[hr]
My form
[hr]
[php]
Post News to Home Page |
||||||||||||||||
|
[/php]
[hr]
My Form process
[hr]
[php]
|
|
Date: |
$date |
Article Title: |
$title |
Main Article: |
$article |
[/php]
[hr]
My Config file
[hr]
[php]<?php
##database settings######
$dbhost = ‘localhost’;
$dbuser = ‘’;
$dbpass = '’;
$dbname = ‘daycare2’;
#########################
#########################
####Datebase Connection##
#########################
$dbc=mysql_connect($dbhost,$dbuser,$dbpass);
?>
[/php]