ISO Image
Creator
Merge 2 scripts
Jan 1 2006, 07:57 AM

Helpful Member
![]()
Group: Members
Posts: 78
Joined: 23-October 04
Member No.: 23,034
India
![]()
I want to know how to merge 2 php scripts into one.
This is script no 1
<?php
echo "hello php1"
?>
This is script no 2
<?php
echo "hello php2"
?>
I want to put these into one .php file .
How will u call each script, so that either hello php1 or hello php2 is displayed.
Not both.
something like
http://localhost/merged.php?action=1
or
http://localhost/merged.php?action=2
i hope i could explain. ![]()
Thanks N Happy new year to all.
May this new year be a blessed year with peace n good health.
Cool Surfer Merge 2 scripts Jan 1 2006, 07:57 AM
Mackins I remember a long time ago, I asked the same quest... Jan 2 2006, 06:54 AM
Cool Surfer ok thanks mac, can u make a script for eg
<?php... Jan 5 2006, 09:32 AM
Mackins Well usually, you don't put the scripts in the... Jan 5 2006, 11:43 AM


Lo-Fi Version
Time is now: 23rd May 2012 - 11:49 AM
![]()
Webber Enhanced skin created by Im4eversmart of RuneHQ.