Jfrye
Mapper, trying to learn scripting
I cannot get this to work right. If anyone can tell me what I am doing wrong, I would greatly appreciate it.
It will not show up right on the website if the character has premium account or free account. I have tried using google to search for solutions, and tried changing to different values, and I still cant get this to work right.
Code:
<?php if ($znote_acc_data['premdays'] > 1)
echo '<td><font color="green">Premium Account</font></td>';
elseif ($znote_acc_data['premdays'] < 1)
echo '<td><font color="red">Free Account</font></td>'; ?>
It will not show up right on the website if the character has premium account or free account. I have tried using google to search for solutions, and tried changing to different values, and I still cant get this to work right.