Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 3rd Jun 2015, 11:58 AM   #1
Internet Marketing Newbie
 
Join Date: 2014
Location: ARLINGTON, TX
Posts: 228
Thanks: 50
Thanked 5 Times in 5 Posts
Default
in php whats the difference between the 3
Share on: 
fb share twitter share gplus share more share

get_sidebar( 'content' ); it has 'content' between parenthesis



get_sidebar(); this one has nothing



<?php get_sidebar( $name ); ?> this one has a $ sign without the ' tags inbetween within parenthesis.



thanks

TaherSyed34
TAHERSYED34 is offline  
Unread 3rd Jun 2015, 12:43 PM   #2
Internet Consultant
War Room Member
 
artemis360's Avatar
 
Join Date: 2009
Location: Las Vegas, NV
Posts: 105
Thanks: 76
Thanked 17 Times in 17 Posts
Blog Entries: 1
Default
Re: in php whats the difference between the 3
Share on: 
fb share twitter share gplus share more share

' ' - is the static value
$ - is a variable

Read up on this to get a better idea:

operators - Reference - What does this symbol mean in PHP? - Stack Overflow

A r t e m i s
------------
Webtopias.com
Artemis360.com
artemis360 is offline  
Closed Thread


Bookmarks

Tags
difference, php


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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:41 PM.