Help - Search - Members - Calendar
Full Version: Do you use php strings?
Forums > Resource Center > Designers' Café
phoenixpyre
Ok.

It JUST hit me how amazing PHP is.

SCENARIO:

I'm making cursor code box pop-ups on my site, and without PHP, I would have to go in on each individual page and change three different things for each page to make them different for each cursor. But! With PHP, all I have to do is make a template page, and then on each page, all I have to do is define the string and include the template.

DONE!

CODE
<?php include(template.php); $cursor_name = "pizza"; ?>


^THAT'S ALL I HAVE TO DO FOR EACH PAGE!

It's SO AMAZING!


Do you use PHP!?? YOU SHOULD IF YOU DON'T!
Señorita Semi-Automatic
Yeah, me too.
The Markster
Lol. Someone's a little late with the magic of PHP. XD.gif
phoenixpyre
^_^ I KNOW


:(
Blaqheartedstar
haven't messed with PHP as of yet
clarity
I've never used PHP before, nor do I know how too.

Someone should teach me. biggrin.gif
moorepocket
i love to use php, but i can't read it.
TehJusty
The very concept of PHP frightens me to death x.x; I have a semi firm grasp on CSS and am starting to learn little bits of JavaScript, PHP will have to come later.
Blaqheartedstar
same here, i can read html/css... but with php and javascript is all like omg... don't know what any of this means huh.gif

but i would love to learn them both biggrin.gif
mona lisa
PHP is fascinating but I too don't understand what the heck it all means. laugh.gif I suppose Javascripting would take practice but I like that both can make your life easier by saving time.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.