Real Webspace Posted May 24, 2010 Share Posted May 24, 2010 I'm working on this addon to display the option to transfer all my domains from a certain registra. The code I have is below, could anyone tell me what the problem is? It should be so simple But I just cant get anything out of it... What am I doing wrong? /modules/admin/domain-transfer/domain-transfer.php <?php # Set the admin level required to access the addon - 1 for support, 2 for sales & 3 for full admin $adminlevel = "3"; # Print the content of the page echo ' <table bgcolor="#8fbce9" cellpadding="0" cellspacing="1"> <tr bgcolor="#efefef" style="text-align:center;font-weight:bold;"> <td colspan="3" align="left">Domains</td></tr> '; # Query selcts fields and custome field namely Cellphone number $query = "SELECT `tbldomains`.`id`, `tbldomains`.`domain` FROM `realwebs_billing`.`tbldomains` WHERE (`tbldomains`.`registrar` LIKE \'%uniforum%\') ORDER BY `tbldomains`.`id` ASC"; $result=mysql_query($query); while ($data = mysql_fetch_array($result)) { $id = $data["id"]; $domain = $data["domain"]; echo '<tr bgcolor="#ffffff"> <td>'.$id.'</td> <td>'.$domain.'</td> <td><input value="Transfer" class="button" onclick="http://billing.realwebspace.co.za/admin/clientsdomainreg.php?domainid='.$id.'&ac=transfer" type="button"></td></tr> }' echo '</table>'; ?> 0 Quote Link to comment Share on other sites More sharing options...
Real Webspace Posted May 27, 2010 Author Share Posted May 27, 2010 Any one got any thoughts, It must be so simple what I'm not doing.... :) 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.