Missing the big picture
Posted: Mon Mar 15, 2004 9:32 am
I have a simple form to add data into a database..
This is on the same page as my form.
The URL given that the check is supposed to check is
http://localhost/admin/portfolio.php?ty ... lio=SUBMIT
I'm on very little sleep, so please what is wrong. It looks as if the whole if statement is being skipped.
Code: Select all
<?php
if ($submitPortfolio == "SUBMIT") {
$status="1";
?>
<script language=javascript>
window.open("admin_confirm.php? <? echo "type=$type&date=$date&live=$live&picture=$picture&description=$description¬ablefeatures=$notablefeatures" ?>", "Portfolio Admin", "toolbar=0,status=0,menubar=0,scrollbars=no,resizable=no,width=315,height=400");
</script>
<? } ?>
?>The URL given that the check is supposed to check is
http://localhost/admin/portfolio.php?ty ... lio=SUBMIT
I'm on very little sleep, so please what is wrong. It looks as if the whole if statement is being skipped.