example.com?char_id=43&char=Bilbo There is nothing about _ and (int) at all. And, technically, you should use an HTML Entity on the & in your HTML output, so it turns into & On Wed, March 21, 2007 9:49 pm, Jeff wrote: > I want to thank you all for clearing me up on setting the > register_globals > to ON issue!! I have refrained from doing so and my code is running > great > with the $_GET. > > I am having NO trouble passing my "single" variable to the next page > using.. > > echo "<A href=\"char_edit_form.php?charid=$charid\">Edit</A>"; > > as when the next page that load actually shows the character info, so > basically you can see you are dealing with the correct record. > > NOW............. > > I want to pass two variables to a delete page. The charid and the char > name. > Here is what I have but it will only pass the 1st variable ?charid > > echo "<A href=\"delete_char.php?charid=$charid > ?char=".$myrow["char_name"]."\">Delete</A>"; > > I get the 1st variable using the $charid = (int)$_GET['charid']; (on > the > next page) > > I do however NOT get > > $charname = $_GET["char"] to pull the name out. (on the next page) > > I've tried putting a comma, a &, a % between the variables ie.. > > echo "<A href=\"delete_char.php?charid=$charid & > ?char=".$myrow["char_name"]."\">Delete</A>"; > > but it just won't let me pull the $_GET["char"] > > I have even tried $_GET['char'] but am under the impression '_' are > for > integers and "_" are for text? Anyway, can someone please let me know > the > PROPER way to pass the two or more variables? > > Thanks WAY in advance!! > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php