delete issue
I need to redirect after delete.
in
$WA_redirectURL = "galleria_results.php?idalbum=".$_SESSION['SceltaAlbum'] ."";
I not be able to give a value to my variable SceltaAlbum
what wrong?
Thanks
I need to redirect after delete.
in
$WA_redirectURL = "galleria_results.php?idalbum=".$_SESSION['SceltaAlbum'] ."";
I not be able to give a value to my variable SceltaAlbum
what wrong?
Thanks
I dont follow. Please provide more details.
sorry I'm late but just now I was able to resume this work!
In a result page after delete I want redirect to the same page with an id:
I have this link:
galleria_results.php?idalbum=4 (idalbum from album table)
In this page I have some record idgallery (from gallery table)
idgallery1
idgallery2
idgallery3
I need delete es: idgallery2 and again redirect to
galleria_results.php?idalbum=4
I try with session but get always
galleria_results.php?idalbum=
without id
send a copy of the delete page please.
ahh, i see, make sure the form action passes the URL variable when it is submitted.
change:
<form class="DetailsPage Cool_Default" id="Results_Cool_Default" name="Results_Cool_Default" method="post" action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>">
to:
<form class="DetailsPage Cool_Default" id="Results_Cool_Default" name="Results_Cool_Default" method="post" action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != ""?"?".htmlentities($_SERVER["QUERY_STRING"], ENT_QUOTES):""); ?>">
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.