Hi
I am trying to learn a bit of php - MYSQL for my own coding. I have seen some tutorials abd have applied some of their ideas to this code but it still does not add the content of the form.
Here is my "postentry" process:
<?php
$dbh='localhost';
$dbu='xxx1';
$dbp='xxx2';
$dbn='xxx3';
$c=mysql_connect ($dbh,$dbu,$dbp) or die
('cannot connect');
mysql_select_db ($dbn);
$title=$_POST['title'];
$post=$_POST['entry'];
mysql_query ("INSERT INTO xxx3 (title, entry) VALUES ('$title', '$entry')");
mysql_close($c);
?>
What are the problems please?
Thanks alot