Redirecting

PHP coding talk.

Moderator: Moderators

Redirecting

Postby Phantom on Thu May 12, 2005 11:56 pm

I was just wondering, how would you redirect after a query? Like, if you click on a link that deletes a row, how would you make it so it would just redirect you to the original page without having to print extra text? Thanks.

// Phantom
"Best of the best of the best, sir! With honors!" -- MIB
[ jphantom.com ]
Phantom
Registered User
Registered User
 
Posts: 245
Joined: Mon Apr 18, 2005 3:24 am

Postby PostBot on Fri May 13, 2005 12:01 am

<?php
header('Location: whatever.php');
exit;
?>
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby Phantom on Fri May 13, 2005 12:46 am

Thanks a million CA. =)
"Best of the best of the best, sir! With honors!" -- MIB
[ jphantom.com ]
Phantom
Registered User
Registered User
 
Posts: 245
Joined: Mon Apr 18, 2005 3:24 am


Return to PHP Programming

Who is online

Users browsing this forum: No registered users and 0 guests