franscom Posted November 25, 2009 Share Posted November 25, 2009 Hi All, Is it posible to add a php code into my joomla page to intergrate the knowledgebase? For example is use for my domain price's the following code en it works fine. {source} <?php mysql_connect("localhost", "loginname", "pass") or die(mysql_error()); mysql_select_db("d-base") or die(mysql_error()); $result = mysql_query(" SELECT * FROM tblpricing LEFT JOIN tbldomainpricing ON tblpricing.relid = tbldomainpricing.id WHERE tblpricing.type = 'domainregister'") or die(mysql_error()); echo "<table width='500' border='0' align='center' class='mytable'>"; echo "<tr> <th>TLD</th> <th>Kosten</th> <th>Setup kosten</th> </tr>"; while($row = mysql_fetch_array($result)){ echo "<tr><td>"; echo "<b><a href='http://www.yoururl.com/klanten/cart.php?a=add&pid="; echo $row['relid']; echo "' title='Bestel domeinnaam' target='_blank'>"; echo $row['extension']; echo "</a></b></td><td>"; echo "€ "; echo $row['msetupfee']; echo "</td><td><left>"; echo "Gratis"; echo "</td></tr>"; } echo "</table>"; ?> {/source} But is it posible to do this for the knowledgebase also? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.