Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-04-2007, 08:52 AM   #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.
hartken is offline   Reply With Quote
Old 06-04-2007, 09:21 AM   #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?
hartken is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -5. The time now is 11:51 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2