[PHP] print correct values for variables inside variebles ..

2001-01-31 Thread hsmith
I've posted a similar question .. and got hat one resolved .. but now I'ms trugling with this one .. I have a page called edit .. that I pass a variable called $page like this edit.php3?page=index what I'm trying is something like this .. function blah($page){ $query="select * from

[PHP] interreng problem ..

2001-01-30 Thread hsmith
Hi all I'm having a small problem here is code: ? fucntion load_page($page_name){ $page_name="index"; include"templates/$webit_layout_id/$page_name_heading.php3"; include"templates/$webit_layout_id/$page_name_footer.php3"; } ? as you can see ... it replace "$page_name_heading";

[PHP] strangeness with is_dir()

2001-01-24 Thread hsmith
Hi all I'm trying to use is_dir to go thru a dir to list all dirs of that I have a dir with 3 other dirs in them [root@universe templates]# pwd /www/docs/webit/admin/templates [root@universe templates]# ls -l total 12 drwxr-xr-x 4 root root 4096 Jan 12 13:16 1/ drwxr-xr-x 4

[PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread hsmith
Hi all I'm having a slight little problem .. I can't seem to solve.. I have a multiple select form .. that i select mutiple options from and then it creates a variable called $select now if I display $select .. I only get the last selected value .. here foloows test code.. ? if

[PHP] passing arrays via forms ..

2001-01-23 Thread hsmith
howdy again :) does anybody knwo how to pass an array via forms using something like input type=\"hidden\" name=\"client_services\" value=\"$client_services\" where $client_services is an array ? Hetni -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread hsmith
u ... $select is an array .. so echo $select will just produce "array" .. On Tue, Jan 23, 2001 at 12:44:20PM -, Jon Haworth wrote: Try either: ? input type="hidden" name="select" value="?php echo $select; ?" ?php OR printf ("input type=\"hidden\"