str_replace on data insert hidden field
Hi there,
I have 2 fieds in my database "page" and "url" (hidden field).
URL gets the data on insert from the PAGE form field:<?php echo((isset($_POST["page"]))?$_POST["page"]:"") ?>.
How can I accomplish a str_replace on this field.
I want to convert te page, for instance "is this a test?" to "this_is_a_test_".
I played around in the source with . "".((isset($_POST["page"]))?$_POST["page"]:"") ."" . but nothing I tried works :(.
Please help