#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    34
    Rep Power
    15
    Dunno if this is a bug but....

    I have two search screens in the website I'm
    developing. Under PHP3 I could go backwards
    and forwards between the search page and
    results page without losing my search
    criteria fom the input boxes. Now I've
    upgraded to PHP4 the input boxes are empty
    as soon as I go back.

    Anyone heard of this, or know a fix for it?
    I'd go back to PHP3 but I need session
    support.

    enigmatrix
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    I'd go back to PHP3 but I need session
    support.


    Take the search criteria in a session variable and put it back again in the search box...



    ------------------
    SR -
    webshiju.com

    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    34
    Rep Power
    15
    Unfortunately I merge all the search criteria
    into an SQL query. The idea of taking that
    and parsing it to work out which options
    to select etc. scares the willies out of me.

    I used to pass all the selected inputs back
    and forth, but it got rather messy, and
    required far more PHP files to manipulate
    the data. I dont want to have to go down
    that path again.

    enigmatrix

Similar Threads

  1. UTF-8 problem in 4.1.1a
    By mehran20 in forum MySQL Help
    Replies: 1
    Last Post: February 8th, 2004, 03:21 PM
  2. Wierd problem inserting data with VB6
    By gregquinn in forum MySQL Help
    Replies: 5
    Last Post: February 2nd, 2004, 08:37 AM
  3. mysql_fetch_array problem
    By njcallen in forum PHP Development
    Replies: 6
    Last Post: January 24th, 2004, 09:28 PM
  4. Java mail problem.
    By Programmer123 in forum Java Help
    Replies: 4
    Last Post: January 24th, 2004, 12:21 PM
  5. need help with testing non-alphanumeric input
    By pinkipodmini in forum PHP Development
    Replies: 1
    Last Post: January 23rd, 2004, 02:48 PM

IMN logo majestic logo threadwatch logo seochat tools logo