Re: [PHP] Class Syntax Help or Globals issue

2004-06-04 Thread Bob Pillford
Thanks very much! Marek Kilimajer wrote: bob pilly wrote: Hi All I am new to classes and are trying to work out whether they will make my coding experience easier. I have written the following test class which is trying to take three variables from a mssql query and add them as variables in a new

[PHP] syntax for printing multi-dimensional arrays

2004-03-23 Thread Bob Pillford
Hi all I am having problems printing members of an array that has two dimensions and am wondering if someone can help me with the syntax required to do this. If i have the follwing code: ?php $test=array('test1'='a','test2'='b'); print $test[test1]; ? I get 'a' echoed to the screen as

[PHP] syntax for printing multi-dimensional arrays

2004-03-23 Thread Bob Pillford
Just found the answer so please disregard this. Cheers Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with mssql_query

2003-11-11 Thread bob pillford
Hi all i have the following code which isnt working correctly and i cant work out why. Any help would be greatly appreciated as its sending me crazy! $query = select refno from campaign where appdate between 'nov 07 2003' and 'nov 08 2003' ; $result=mssql_query($query,$numero);