Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Posts
    11

    Unanswered: simple query code with if statement

    what i need
    i got field in the database with 0 or 1 content

    what i want is simple code

    if 0 do nothing if 1 make a redirect

    in php page

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    is this...
    a MySQL problem?
    or
    a PHP problem?
    or
    an HTML problem?

    what are you struggling with

    getting the value from the db and working out what to do
    writing the appropriate PHP code
    or understanding how to redirect to another HTML/PHP page.
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

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