Log In · Register

 

Resource Center Links


This Month's Contests | Hosts Looking for Hostees | Hostees looking for Hosts | Big Book of Resources

Submission Guidelines

Do you use php strings?, i LOVE php strings and php in general
phoenixpyre
post Mar 7 2007, 10:21 PM
Post #1


Senior Member
*****

Group: Member
Posts: 793
Joined: Jun 2006
Member No: 425,250



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!
 
 
Start new topic
Replies
phoenixpyre
post Mar 8 2007, 04:33 PM
Post #2


Senior Member
*****

Group: Member
Posts: 793
Joined: Jun 2006
Member No: 425,250



^_^ I KNOW


:(
 

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: