acey wrote:does anyone know why i cant use in_array ? error reporting isnt set on my host so im not sure why
ive tried i my own work ..
also tried examples on the php manual no go ..
Have you tried very simple tests? like
$array = array("one","two","three");
echo ( in_array("two", $array) ) ? "weee!!!" : "not in there!!! What???";
Also, you often don't need access to the server to turn on error reporting (see error_reporting()) Finally, what version of PHP does your host use?