i have a log file which is filed with errors and sadly i don’t know php 🙁 in order to fix my problems. The following line should let me input a value for a subnet from what i understand
<td>Subnet Filter:<input name=subnet value=<?php=isset($subnet)?$subnet:"0.0.0.0/0"?>>
but when i check the web page to input my value the textbox has the following text in it :<?php=isset($subnet)?$subnet:"0.0.0.0/0"?. Could anyone explain to me what is going on, or where should i look for answers. Also is this syntax specific to php4? because i’m using php5 and the whole page is full of errors, and it’s a downloaded application so it should have worked from the start.
Use short tags for this:
Or if you can’t then:
You can’t echo with = with
<?phptag. It has to be<?=or<?php echo