PHP:
<div class="php" id="{CB}" style="font-family: monospace;"><ol><span style="color: #000000; font-weight: bold;"><?php
[url=http://www.php.net/if]<span style="color: #b1b100;">if[/url] (!empty($_POST['AI']))
{
add_item($_POST['itemName'], $_POST['itemType'], $_POST['itemIcon']);
};
[url=http://www.php.net/if]<span style="color: #b1b100;">if[/url] (!empty($_POST['RI']))
{
remove_item($_POST['itemName'], $_POST['itemType']);
};
[url=http://www.php.net/if]<span style="color: #b1b100;">if[/url] (!empty($_POST['UI']))
{
update_item($_POST['itemID'], $_POST['itemName'], $_POST['itemType'], $_POST['itemIcon']);
};
<span style="color: #000000; font-weight: bold;">?>
<div id="form"><form action="<?php echo $PHP_SELF;?>" method="post"><br />
<span style="color: #000000; font-weight: bold;">Item ID: <input id="itemID" type="text" size="5" /><br />
<span style="color: #000000; font-weight: bold;">Item Name: <input id="itemName" type="text" /><br />
<span style="color: #000000; font-weight: bold;">Item Type: <input id="itemType" type="text" /><br />
<span style="color: #000000; font-weight: bold;">Item Icon Name: <input id="itemIcon" type="text"></div>
<br /><br />
<input id="itemAdd" type="submit" value="Add Item" name="AI" />
<input id="itemRemove" type="submit" value="Remove Item" name="RI" />
<input id="itemUpdate" type="submit" value="Update Item" name="UI" /></form></div>
Why won't the above work for me? The phpFunctions work just fine, but they don't seem to be getting called...