|
it seems not to work with php3. I change *.php3 to
*.php, it work.
this is small code of accounting.php3
help me to correct this problem
if (!$queryflag) {echo <<<EOM<form method=post> <table border=0 width=740 cellpadding=1 cellspacing=1> <tr> <td> <b>Show the following attributes:</b><br> <select name="accounting_show_attrs[]" size=5 multiple> EOM; foreach($items as $key => $val) echo <<<EOM <option $selected[$key] value="$key">$val</option> EOM; echo <<<EOM </select> <br><br> <b>Order by:</b><br> <select name="order_by"> EOM; foreach($items as $key => $val) if ($val == 'UserName') echo <<<EOM <option selected value="$key">$val</option> EOM; else echo <<<EOM <option value="$key">$val</option> EOM;
and the result:
|
