Looking for cheat sheet of php tags
Moderator: General Moderators
Looking for cheat sheet of php tags
Hello,
Could someone please direct me to a webpage that lists a table of all the common php tags w/ a quick definition next to each one?. I tried searching 'php tags' on Google with no luck.
Thanks a bunch!
Could someone please direct me to a webpage that lists a table of all the common php tags w/ a quick definition next to each one?. I tried searching 'php tags' on Google with no luck.
Thanks a bunch!
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Looking for cheat sheet of php tags
FYI "php tags" are just <?php ?> and <? ?> and <?= ?>. The latter two being "short tags" and due to be disabled by default.BMAN wrote:Hello,
Could someone please direct me to a webpage that lists a table of all the common php tags w/ a quick definition next to each one?. I tried searching 'php tags' on Google with no luck.
Thanks a bunch!
I guess you mean PHP Functions. ilovejackdaniels.com has some cheatsheets but php.net provides everything you need
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
How obvious is it that I know absolutely nothing about php?
I'm having someone build a CMS site for me that has alot of php code in it. I don't know anything about php. All I know is HTML. I just assumed that whatever is between brackets in php was called a tag, like with HTML. Anyways, I basically just wanna be able 'read' some of the php code in my site and figure out what it's in reference to.
Thanks for the tips guys.
I'm having someone build a CMS site for me that has alot of php code in it. I don't know anything about php. All I know is HTML. I just assumed that whatever is between brackets in php was called a tag, like with HTML. Anyways, I basically just wanna be able 'read' some of the php code in my site and figure out what it's in reference to.
Thanks for the tips guys.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
PHP manual.Anyways, I basically just wanna be able 'read' some of the php code in my site
Don't expect to know it all in an afternoon. PHP is a programming language.
How about PHP's Function Index?
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
I got a source to back up d11wtg:d11wtq wrote:Don't have one sorry... I apologise if that's bad info. Just the rumours I've heard about PHP6 dropping short tags along with some other things. Just general stuff I've seen blogged etc but not officially from PHP/Zend I admit.Gambler wrote:Source?due to be disabled by default.
http://www.php.net/~derick/meeting-note ... dd-php-var
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
When in need of something 'PHP cheat sheet related' check out the 'Useful PHP Resources' Topic of the PHP - Code Forum.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Pretty good one-page reference: http://www.ilovejackdaniels.com/cheat-s ... eat-sheet/
Not a plug for the liquor other than the name of the site, just an odd name for a blog...
But if you're just starting, I don't know how much a cheat sheet will help, good if you knew PHP and had just been off it a while. I'd look up PHP Tutorials on google and start there.
Not a plug for the liquor other than the name of the site, just an odd name for a blog...
But if you're just starting, I don't know how much a cheat sheet will help, good if you knew PHP and had just been off it a while. I'd look up PHP Tutorials on google and start there.
Now THAT'S scary!bdlang wrote:How about PHP's Function Index?
I think I'll start w/ the stuff at ilovejackdaniels.com. Looks a bit friendlier. Now I understand the reason for the domain name. Learning php probably drove the guy to drinking!