Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Rodrigo Castro Hernandez

Hi,

You have two problems in these line:


Harlequin said:

 if ($_SESSION[Authorised]=Yes);


1. The obvious ; at the end of the line.
2. $_SESSION[Authorised]=Yes it's different to write:
   $_SESSION[Authorised]==Yes


Cheers,


-- 
Rodrigo Castro Hernandez

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



Re: [PHP] ASP to PHP language problems

2004-03-10 Thread Rodrigo Castro
On Wednesday 10 March 2004 18:54, Raditha Dissanayake wrote:
 Hi.
 There is an ADO simulator for PHP (i think it's called ADODB PHP but i
 can't remember the link). There is also a asp to php converter called
 (can you guess? ) asp2php.

http://php.weblogs.com/

And

Pear::DB must work too :P
http://pear.php.net/package/DB

http://www.onlamp.com/pub/a/php/2001/11/29/peardb.html


--
roche

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