[PHP] url - self

2002-11-21 Thread Paul Dionne
hello,

I have three tables with similar formats but different information.  So, I 
wrote one function to deal with all three.  Problem is that originally this 
was done with one form, so I had an add button at the bottom (and delete 
beside each record).  But the form took too long to load now I need to 
break it up.

I would like to keep the function and use it across three pages...I just 
need to know how to get the url of the page calling the function so I can 
delete the information from the appropriate table.  

Thanks in advance.

Paul

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




RE: [PHP] url - self

2002-11-21 Thread Jon Haworth
Hi Paul,

 I just need to know how to get the url of the page 
 calling the function so I can delete the information 
 from the appropriate table.  

Does $PHP_SELF not give you what you're after?

Cheers
Jon

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




RE: [PHP] url - self

2002-11-21 Thread Paul Dionne
Yep, that is what I was looking for. 

thanks,
paul


Jon Haworth wrote:

 Hi Paul,
 
 I just need to know how to get the url of the page
 calling the function so I can delete the information
 from the appropriate table.
 
 Does $PHP_SELF not give you what you're after?
 
 Cheers
 Jon


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