Hello Conmiro, can you try this code;
PHP Code:
<?php
$con = mysql_connect('localhost', 'conmiro_conmiro', 'godjesus');
if(!$con) {
die('Could not connect: '.mysql_error());
} else {
mysql_select_db('my_db', $con);
mysql_query('INSERT INTO `websites` (`sitename`, `description`, `email`) VALUES (`'.$_POST['age'].'`, `'.$_POST['age'].'`, `'.$_POST['age'].'`');
mysql_close($con);
}
?>
instead and give me its output?
I changed your query a bit, since strings enclosed within the single quote (') cannot identify/parse variables.
Bookmarks