I appreciate the support and the ability to test before buying.
I have the other side of the equation to solve. I've looked everywhere and still seem miles away.
I want to create a variable and use it in my page. The value for the variable was sent by a ChronoForm to a Joomla 1.6 database.
This is what I've managed to put together so far, but I know is wrong and incomplete.
<?php
$db =& JFactory::getDBO();
$owner_id = '10';
$hometown = "
SELECT 'hometown'
FROM '#__owner_profiles' WHERE 'owner' = $owner_id;
";
?>
I want to use this variable in my page <?php echo $hometown; ?>
Any idea what's wrong and missing?
I have the other side of the equation to solve. I've looked everywhere and still seem miles away.
I want to create a variable and use it in my page. The value for the variable was sent by a ChronoForm to a Joomla 1.6 database.
This is what I've managed to put together so far, but I know is wrong and incomplete.
<?php
$db =& JFactory::getDBO();
$owner_id = '10';
$hometown = "
SELECT 'hometown'
FROM '#__owner_profiles' WHERE 'owner' = $owner_id;
";
?>
I want to use this variable in my page <?php echo $hometown; ?>
Any idea what's wrong and missing?