thnx bruce, paul, chris, cal ....... but i ve tried it inlcude doesnt work i keep gettin this error:
Warning: Failed opening 'http:\localhost\cat_disply.php' for inclusion (include_path='C:\WINDOWS\system32\inetsrv\php') in e:\final project\zroot\z3.php on line 3 my tries to make line 3 work are: 1. $cat = include 'http:\\localhost\cat_disply.php' ; 2. $cat = include 'cat_disply.php' ; and even without $cat variable 3. require_once(cat_disply.php); 4. require(cat_disply.php); 5.require($DOCUMENT_ROOT . "cat_disply.php"); and i get another error (for require): Fatal error: Failed opening required 'e:/final project/zrootcat_disply.php' (include_path='E:\final project\zroot') in e:\final project\zroot\z3.php on line 3 i even tried return $cat; in cat_dislpy but nothing seems to be working out of sheer desperation i tried changing the include path in php.ini to my localhost but to no use will someone plz help ???? & im mailin on the "right" list now ..... thnx a millllllllion ... everyone .... toby ... __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php