<?php class combobox extends Status { function showTextBox() { if (Status.$id != 3) { echo '<td><span class="required">*</span> Reward (<span class="style1">Optional</span>):</td> <td><input name="reward" type="text" id="reward" /></td>'; } } } $combo = new combobox(); $combo.showTextBox(); // ?>
Status.$id
parent::
$this->id
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)