I want to add this function to xRoster and just wondering what the best way to go about it.
Is there a module that already can export from the database to PDF using different templates?
Thanks
function getHeight($height){
global $xoopsDB;
$query = 'SELECT height FROM ' . $xoopsDB->prefix('xRoster') . ' WHERE id =id';
$inches = $height % 12;
$feet = ($height - $height_inches) / 12;
}
$height_inches = $height % 12
$height_feet = ($height - $height_inches) / 12
function getHeight{
$height_inches = $height % 12;
$height_feet = ($height - $height_inches) / 12;
}
<select name="height">
<option selected="selected" value="">option>
<option value="53">4'5"
6"