+ Post New Thread
Results 1 to 6 of 6
Web Development Thread, Query of existing query data in PHP in Coding and Web Development; I am trying to create a new query based on existing query data that I have created in PHP. Is ...
  1. #1

    Join Date
    Sep 2005
    Posts
    153
    Thank Post
    1
    Thanked 4 Times in 4 Posts
    Rep Power
    18

    Query of existing query data in PHP

    I am trying to create a new query based on existing query data that I have created in PHP.

    Is this possible? I remember doing it really easily in ColdFusion and ASP, but cannot figure out how to do it in PHP yet...


    Thanks,
    Mark

  2. #2

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,403
    Thank Post
    109
    Thanked 267 Times in 198 Posts
    Rep Power
    168

    Re: Query of existing query data in PHP

    I don't fully understand what you mean by this...can you give more detail about what the end result should be?

    I am guessing that in ASP you were querying an existing recordset...is that right?

    Mark

  3. #3

    Join Date
    Sep 2005
    Posts
    153
    Thank Post
    1
    Thanked 4 Times in 4 Posts
    Rep Power
    18

    Re: Query of existing query data in PHP

    Yes that is correct, a previous recordset has already been created, the results of which I would like to filter out again, using a further recordset.

  4. #4
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118

    Re: Query of existing query data in PHP

    Quote Originally Posted by markwilliamson2001
    Yes that is correct, a previous recordset has already been created, the results of which I would like to filter out again, using a further recordset.
    I'd love to help but I'm a PHP coder and never touched ASP in my life... so I've no idea what you're referring to here.

    Could you give an idiots guide to exactly what you mean by your "recordset", what form it's stored in, where, etc... and then someone may be able to help.

  5. #5

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,631
    Thank Post
    890
    Thanked 1,314 Times in 798 Posts
    Blog Entries
    1
    Rep Power
    441

    Re: Query of existing query data in PHP

    ASP does allow this using datasets.
    PHP though has another way, your result is an array usually. Look for ways to search the array and you may find something that does something similar. I dont think php has a full equivalent to dataset but I am not fully up on php5's new features.
    What query would you need to run on the result?

  6. #6

    Join Date
    Sep 2005
    Posts
    153
    Thank Post
    1
    Thanked 4 Times in 4 Posts
    Rep Power
    18

    Re: Query of existing query data in PHP

    I have actually sorted out a solution to this problem, although it is a little basic...

    Thanks for the help anyway guys.

    Mark

SHARE:
+ Post New Thread

Similar Threads

  1. Joomla query
    By tech_guy in forum Web Development
    Replies: 5
    Last Post: 29th October 2007, 08:44 PM
  2. SQL Query :S
    By Kained in forum Web Development
    Replies: 10
    Last Post: 25th July 2007, 02:56 AM
  3. Logon.bat query
    By speckytecky in forum Scripts
    Replies: 3
    Last Post: 20th April 2007, 10:08 AM
  4. Training Query
    By derer1 in forum General Chat
    Replies: 14
    Last Post: 12th February 2007, 02:10 PM
  5. DNS LDAP query
    By SpuffMonkey in forum Wireless Networks
    Replies: 1
    Last Post: 5th February 2007, 04:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •