[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 sit

[PHP] interreng problem ..

2001-01-30 Thread hsmith
Hi all I'm having a small problem here is code: as you can see ... it replace "$page_name_heading"; instead of just "$page_name"; any ideas how to get around this ? henti -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[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 ro

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: > > ?> > > OR > > printf ("input type=\"hidden\" name=\"select\" value=\"%s\">", > $select); > > > HTH > Jon >

[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 where $client_services is an array ? Hetni -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

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

2001-01-23 Thread hsmith
Having soved this .. thanks .. now for the next question .. *grin* I have the $select ... but I only use it on the next page .. heheh so I'm trying the following .. which of course doens't work .. nor does any idea on how to pass an array on in an input field in a form ? Henti On Tu

[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.. Chocolate/Choco

[PHP] PHP vs JSP

2001-01-14 Thread hsmith
Hi all I'm busy working on a contract .. and we need to do some web based stuff .. but the client is intent on using jsp and not PHP. Is there somewhere where I can get good comparists between the two pro and cons etc etc .. I would much rather use PHP then JSP for the development Thanks