Also:
I have cloned the About Us page. In the templates > MyTemp > templates >tpl_new_page.php I am trying to submit a form.
This is the php I'm using to submit. However it is not writing to the DB. Am I missing something here? Like a db connect? I figure we're already connected at this point.
<?php
$clientCustomersID = $_SESSION['customer_id'];
$websiteURL = serialize($_POST['websiteUrl']);
$keywords = serialize($_POST['keywords']);
$description = serialize($_POST['description']);
//Inject Customers website into client side DB
if($_SERVER['REQUEST_METHOD']=='POST') {
$qur="INSERT INTO websites (`customers_id`,`url`,`keywords`,`description`)values ('$clientCustomersID','$websiteURL','$keywords','$description')";
}
?>
```Thanks,
John