Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   Perfect Money   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-23-2006, 05:27 PM   #1 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
Need a Simple Variable Script

Hi I need somebody to create a script which will simply do the following in PHP:

It should take in 5 or 6 variables
It should then place these variables in a group of text which I will choose.

For example, I will choose a format:

Hey my name is X and I go to Y

And they can input the X and Y variables...
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-23-2006, 07:01 PM   #2 (permalink)
Inactive
 
mikelbeck's Avatar
 
Join Date: 03-12-06
Location: Lawn Guyland, Noo Yawk
Posts: 41
iTrader: 0 / 0%
Latest Blog:
Bapeonline.com

mikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the rough
Something like this?

PHP Code:
<?php

$var1 
$HTTP_GET_VARS['var1'];
$var2 $HTTP_GET_VARS['var2'];
$var3 $HTTP_GET_VARS['var3'];
$var4 $HTTP_GET_VARS['var4'];
$var5 $HTTP_GET_VARS['var5'];

echo 
'Hey my name is ' $var1 ' and I go to ' $var2 '.<br />';
echo 
'My date of birth is ' $var3 ' and I am ' $var4 ' years old.<br />';
echo 
'I grew up in ' $var5 '.<br />';

?>
Then call it like this:

script.php?var1=Earl&var2=school&var3=1/1/1960&var4=46&var=brooklyn

That's just off the top of my head, I'm sure it'd need some tweaking. ;-)
mikelbeck is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-24-2006, 06:32 AM   #3 (permalink)
v7n Mentor
 
sixty6's Avatar
 
Join Date: 01-03-06
Location: Illinois
Posts: 1,499
iTrader: 0 / 0%
sixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nicesixty6 is just really nice
Send a message via ICQ to sixty6 Send a message via AIM to sixty6 Send a message via Skype™ to sixty6
Thank you, I appreciate your code and will try it later today. Thanks!
__________________
Sixty6 Hosting - 1(888)229-3185
LinkVault
sixty6 is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-24-2006, 06:46 AM   #4 (permalink)
Contributing Member
 
Join Date: 07-30-05
Posts: 282
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
Quote:
Originally Posted by mikelbeck
Then call it like this:

script.php?var1=Earl&var2=school&var3=1/1/1960&var4=46&var5=brooklyn
Missing the "5" on "var5"
Radnor is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-24-2006, 09:03 AM   #5 (permalink)
Inactive
 
mikelbeck's Avatar
 
Join Date: 03-12-06
Location: Lawn Guyland, Noo Yawk
Posts: 41
iTrader: 0 / 0%
Latest Blog:
Bapeonline.com

mikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the roughmikelbeck is a jewel in the rough
Yep. Oops!

Like I said, it was off the top of my head. There just wasn't enough room on there for the 5, I guess. ;-)
mikelbeck is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple perl script I like pie Coding Forum 1 03-19-2007 02:58 PM
Help with simple script piolilly Coding Forum 1 05-15-2005 03:13 PM
Simple Catalogue script Murry Web Design Lobby 0 04-10-2005 11:24 AM
need simple e-mail script I, Brian Coding Forum 6 07-19-2004 07:59 AM
Very simple script? I, Brian Coding Forum 12 12-28-2003 03:00 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:18 PM.
© Copyright 2008 V7 Inc