close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

delete issue

Thread began 10/22/2012 6:25 am by Massimo | Last modified 12/20/2012 2:16 am by Massimo | 1837 views | 6 replies |

Massimo

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

Sign in to reply to this post

Jason ByrnesWebAssist

I dont follow. Please provide more details.

Sign in to reply to this post

Massimo

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

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the delete page please.

Sign in to reply to this post

Massimo

this is the page

Sign in to reply to this post

Jason ByrnesWebAssist

ahh, i see, make sure the form action passes the URL variable when it is submitted.

change:

php:
<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:

php:
<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):""); ?>">
Sign in to reply to this post

Massimo

Perfect! All work fine. Thanks

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...