How can i implement my own mysql query into an JOOMLA 2.5 page
Must implement the following mySQL query-code into an Joomla Article:
-----------------------------------------------------------------------------------------
Here is my code example (the complete code is attached) this is the ->index.php
</form>
</p>
<p>
<?php if(isset($_POST['submit'])){
$drop = $_POST['drop_1'];
$tier_two = $_POST['tier_two'];
echo "You selected ";
echo $drop." & ".$tier_two;
}
?>
<p><a href="three-tier/">View 3 Tier Select Box Example</a></p>
</body>
</html>
---------------------------------------------------------------------------------------
Is there an elegant way. I did never implement own DB Queries into Joomla.
The DB-Part is a new table in Joomlas Main DB.
1. How is the connection to the table done?
2. Is there an other issue with the DB?
3. Where must the PHP-Code be implemented?
Regards
Roland index.php func.php db.php