View Single Post
  #4 (permalink)  
Old 06-21-09, 08:05 PM
=OTS=G-Man =OTS=G-Man is offline
Newbie Coder
 
Join Date: Jun 2009
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by End User View Post
Or possibly:
PHP Code:

$port $data->'80'
[/QUOTE]

well doing that is, well pointless.

cause if your using a static number then you might as well just do

$port = 80;

but because he is getting the data from a object then you would need

$port = $data->port;

or what ever the name of the variable for where the port is stored in is called.
Reply With Quote