Re: [PHP-DB] Popup menu problem

2003-08-18 Thread John W. Holmes
Kim Kohen wrote:

G'day all,

I've struck a problem with an existing piece of code which I want to move
to a new one. I'm aware of the issues with register global being off as far
as forms are concerned, but I can't figure out why this snippet doesn't
work.  It displays the code rather than the popups.
If you're seeing the PHP source code in the window, then PHP is not 
configured correctly. Are you calling a file with a .php extension (dumb 
question, I know, but you never know).

There's no difference in calling a PHP file through a popup or through a 
regular link. The code you showed didn't look wrong, show us how you're 
calling this code.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals  www.phparch.com





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


Re: [PHP-DB] Popup menu problem

2003-08-18 Thread Kim Kohen
G'day all

 I've struck a problem with an existing piece of code which I want to move
 to a new one. 

Apologies in advance.

The page in question was an HTML page rather than a PHP page and I hadn't
added .html to the AddType bit of the httpd.conf file.

Thanks to those who replied - it's working now

cheers

kim


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