|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Dec 2005
Posts: 87
|
Is my PHP Compiler busted?
I am doing some OOP programing, and PHP is giving me errors. The errors are accurate in that there is something wrong, but they give me the wrong line the errors are at. It is annoying as heck because I don't have to spend time looking around.
Also I can't hit refresh after I update my code. I have to close out of Internet Explorer, and then open it up again in order for my new updates to run. I am using Macromedia Dreamweaver as my PHP IDE. I am in a rush, so I am also working on a PC that I know has spyware, because ads keep popping up, but I don't know of any spyware that affects Apache and PHP. |
|
|
|
|
|
#2 |
|
Member (7 bit)
Join Date: Dec 2005
Posts: 87
|
Ok, I found out it wasn't busted. I just need to understand OOP in PHP a little better. I sort of know C#, and I am trying to relate the two.
The big thing I am trying to find out is how you return a value, like a string or integer, from a method. Can you do something like public string $conStatus; in a property declaration or something like: public bool $connect(){ Connect to MySQL server here. return TRUE if connected, return FALSE if not} when making a method? I tried but got a lot of errors. I know about the var command, but I will like a little better organization. Does PHP support something like that? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issue with PHP 4.4.1 - Mail() function | TazZ_Nc | Web Design / Development | 0 | 04-04-2007 08:18 AM |
| PHP and Web Servers | simontompkins | Web Design / Development | 7 | 06-06-2005 10:55 PM |
| PHP on my system | GraemeM | Web Design / Development | 2 | 06-06-2005 12:01 AM |
| what's so good about php? | bball_1523 | Internet, Web Applications, & The Cloud | 12 | 01-08-2003 06:33 PM |
| I need serious help on PHP????????????? | wilbasket23 | Web Design / Development | 5 | 01-16-2002 01:34 PM |