|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 357 Joined: 8-April 06 Member No.: 21,487 |
Post
#1
Jun 10 2006, 09:32 PM
hi all this tutorial is about php get variable and url forwarding you can move variable in url with php with out html form make one page with this code : CODE <?php $what = $_GET['what']; $trap17 = $_POST['trap17']; echo "Your name is : " . "$what" . "and Your Trap username is : " . "$trap17"; ?> save this file with name "name.php" then upload name.php at your hosting , then turn your browser at this url : http://yoursite.trap17.com/name.php?what=f...p17=farsiscript when page is displayed it show this text : Your name is : farsi and Your Trap username is : farsiscript With $_GET tag in php you can take variable form url when you write search engine for your site this script can help you to get variable form url for example do you see music web site ? music website has this part : A B C D E F G H I ................................................. Z if you click at one of alphabet it show you albums with alphabet name you can Get variable form url for example for musc web site name.php : CODE <?php $alfa = $_GET['alfa']; echo "$alfa"; ?> then You must link A at your page to name.php with this action <a href="name.php?alfa=A">A</a> when visitors click at A in page name.php write A at page you can make Mysql Search engine I hope This tutorial Help you to get variable form url |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 294 Joined: 28-January 06 Member No.: 17,798 |
Post
#2
Jun 11 2006, 03:21 PM
hey you seem to know alot about php coding, how long did it take for you to learn as much as you do now? did you just learn it by yourself or did you take a class?? because i myself would like to know how to set up phpscripts myself becuase i dont really understand much at all. i can only edit stuff i can understand abit.
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 357 Joined: 8-April 06 Member No.: 21,487 |
Post
#3
Jun 18 2006, 10:17 PM
thanks dear BOAW so sorry iam late in posting because i had travel I learing php with looking at script code and tutorials i learn many thinks in trap17 forums . its really good programming forums . thanks |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
6 | ultrasmad | 2,886 | 28th September 2009 - 07:16 PM Last post by: nooc9 |
|||
![]() |
5 | it01y2 | 1,056 | 28th September 2009 - 07:02 PM Last post by: nooc9 |
|||
![]() |
9 | RGPHNX | 3,101 | 31st January 2005 - 05:01 AM Last post by: jordanliuhao |
|||
![]() |
6 | alapidus | 7,260 | 1st February 2005 - 12:23 AM Last post by: stevey |
|||
![]() |
11 | solankyno1 | 4,985 | 13th December 2005 - 05:12 AM Last post by: round |
|||
![]() |
1 | kvarnerexpress | 2,495 | 23rd February 2005 - 01:50 PM Last post by: mizako |
|||
![]() |
4 | -Amras_Ancalimon- | 1,366 | 24th December 2004 - 03:33 PM Last post by: -Amras_Ancalimon- |
|||
![]() |
1 | -szlend- | 643 | 26th February 2005 - 08:01 PM Last post by: -Bandit- |
|||
![]() |
2 | whistle | 1,539 | 6th October 2005 - 09:59 AM Last post by: Spectre |
|||
![]() |
11 | kvarnerexpress | 3,438 | 7th October 2009 - 08:08 PM Last post by: iG-Owen |
|||
![]() |
3 | k-games | 1,005 | 31st January 2006 - 05:42 PM Last post by: leidmar |
|||
![]() |
4 | kvarnerexpress | 1,427 | 19th February 2006 - 02:56 AM Last post by: Paul Thomas |
|||
![]() |
14 | Fantistoooooooooo | 6,528 | 21st August 2009 - 04:05 PM Last post by: iG-Zaraq Khan |
|||
![]() |
0 | Neoload | 565 | 29th March 2006 - 08:19 PM Last post by: Neoload |
|||
![]() |
4 | u_c_iv | 1,210 | 1st May 2006 - 05:16 AM Last post by: u_c_iv |
|||
|
Open Discussion | Time is now: 8th November 2009 - 09:08 AM |
Web Hosting Powered by ComputingHost.com.