Click here to get back home

Can you use the result from one query as a criteria in a second query?

 HomeNewsGroups | Search

comp.lang.php - PHP programming language discussions 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Can you use the result from one query as a criteria in a second query? Don Seckler 09-20-2004
Posted by Don Seckler on September 20, 2004, 11:58 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Don Seckler on September 20, 2004, 6:47 pm
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Juha Suni on September 21, 2004, 11:16 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Don Seckler on September 21, 2004, 4:16 pm
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by filesiteguy on September 21, 2004, 4:57 pm
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text

Unless next_page.php generates PHP, the script with this include will
only get HTML.

show/hide quoted text

next_page.php

<?php
if (isset($_GET['foo'])) {
show/hide quoted text
} else {
show/hide quoted text
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Similar ThreadsPosted
Double query form, result of 1st query drops anything after a space October 23, 2004, 4:27 pm
Assign the result of $db->query($query) to a variable ??? March 1, 2010, 11:06 am
Assign the result of $db->query($query) to a variable ??? March 1, 2010, 11:07 am
same mysql query doesn't always return a result September 9, 2005, 9:04 am
displaying the result of a COUNT query in MySQL December 19, 2005, 10:29 am
question about processing MySQL query result June 22, 2006, 1:55 am
Newbie: How to display query result in table? July 6, 2006, 12:36 am
newbie question: linked result from a query August 31, 2006, 8:02 pm
Unable to see full result of mysql query in php October 9, 2007, 11:17 am
Naming a php variable using the result of a database query November 26, 2008, 5:05 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy