LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2004, 06:21 PM   #1
agallant
Member
 
Registered: Oct 2003
Location: D.C USA
Distribution: Redhat 9. Thinking about Slackware
Posts: 166

Rep: Reputation: 30
Pass multiple URL variables PHP


does any one know how to Pass multiple URL variables in dreamweaver MX? i am using PHP 4

I need to pass these:

cust3.php?cust2=<?php echo $row_custlookup['id']; ?>

cust3.php?cust1=<?php echo $row_cust1[id]; ?>

how do i combine the URLs?


Thanks,
-AG
 
Old 10-21-2004, 06:36 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
cust3.php?cust2=blabla&cust1=blibblib
 
Old 10-21-2004, 07:18 PM   #3
agallant
Member
 
Registered: Oct 2003
Location: D.C USA
Distribution: Redhat 9. Thinking about Slackware
Posts: 166

Original Poster
Rep: Reputation: 30
so it would be?

cust3.php?cust1=<?php echo $row_cust1["id"]; ?>&cust2=<?php echo $row_custlookup['id']; ?>
 
Old 10-21-2004, 07:29 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Yep, should be. Or you could merge together, like:

Code:
cust3.php?<?php echo "cust1=".$row_cust1["id"]."&cust2=".$row_custlookup['id'];?>
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are PHP session variables held in memory when you leave a PHP site? Locura Programming 11 11-16-2008 08:37 PM
PHP passing variables from url to ... latino Programming 3 08-31-2005 06:35 PM
script (or other) to pass variables to C++ program ngwenyama Programming 9 01-20-2005 09:54 PM
url php variables aren't being recognized/used thrice Linux - Software 6 08-04-2004 05:37 AM
willing to pay $$$ PHP / Javascript multiple paged form; carrying over variables micro_sucks General 1 12-26-2003 09:37 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration