Jump to content

[SOLVED] What do these things mean in php?


jeger003

Recommended Posts

hello,

i recently purchased a script and im trying to make sense of its code to hopefully change it around

 

im a newbie so i was hoping some can explain to me what these mean

 

elseif ($session_result->RecordCount() == 1)

what does the '->' mean?




$this->page_id = 22;
$this->get_text($db);
if ($this->classified_user_id)
{
$this->sql_query = "select * from ".$this->listings_table." where seller = ".$this->classified_user_id." and live = 1 order by date desc";


what does '$this->' mean?



echo $show->BOLDING." is classified BOLDING<Br>\n";

and finally what does this "$show->" mean and why would it need to echo is classified BOLDING?


 

 

i searched google php.net and a few other places and cant understand these things

 

i would appreciate links to source that would help or a small explanation

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.