<?php echo (the_ID() == 8) ? '<div id="menu_show" class="slideshow"><img src="http://example.org/image.gif" alt="A picture" width="748" height="245" /></div>':'<div class="header"></div>'; ?>
PHP On Output div block with PHP c...
by techietim,
December 07, 2007 19:31
This is one way to shorten it
<?php
if(isset($_POST['asdasd'])){
foreach($_POST as $pname => $pvalue){
...
PHP On making user html input secure
by techietim,
October 13, 2007 00:50
That cleans all of the $_PO...
foreach($_POST as $pname => $pvalue){
$_POST[$pname] = str_replace(array("\\", '\\'), array("\'", '\"'), htmlspecialchars(trim($pvalue)));
}

Just wondering if there are...