--- Louie Miranda <[EMAIL PROTECTED]> wrote:

> This outputs a filename on $catchresult, and im
> working on redirecting
> it to that file via header. But when ever i run this
> the value of
> $catchresult is not being pass to the header() on
> php.
> 
> $catchresult = $db_view->getOne($getfile);
> header('Location: clients/FILES/$catchresult');
> 
> Hmm, it seems simple but, its really not working..

Yes it is simple just change your single quotes to
double quotes. i.e.

 header("Location: clients/FILES/$catchresult");

zareef ahmed  

> 
> -- 
> Louie Miranda
> http://www.axishift.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to