PHP/MySQL Query Problem in Dreamweaver

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default PHP/MySQL Query Problem in Dreamweaver

    I am trying to retrieve data from mysql database using php code in
    Dreamweaver. It is a simple query that is supposed to list all entries from
    mysql database. When I created a recordset in Dreamweaver and tested it
    everything was okay, but when I view results in actual php page I am getting
    only first row and nothing else.

    Does anyone have solution for this problem?

    Thanks,
    Aeris



    Aeris Leonna Guest

  2. Similar Questions and Discussions

    1. mySQL query writing problem
      I have a table with a dozen or so fields. I am trying to return all 12 fields in all records that contain an entry in the field named 'week'. This...
    2. Query problem moving from mysql 4 to 5
      I am currently developing a website that is used to display college course information. I have everything running exactly as intended on my server...
    3. connection problem MySQL - php from dreamweaver
      Can anybody please help me ? I have set up a remote MySQL database ( on windows system), and have defined the remote testing server and filled...
    4. MySQL Query Problem
      :confused; What is wrong with the following Query? It's in the book, but not working. Select OrderID, OrderDate, (SELECT Count (*) From...
    5. Problem with MySQL Query
      Problem with mySQL Query This is the query I have: $dbqueryshipping1 = "select * from tempuserpurchase where...
  3. #2

    Default Re: PHP/MySQL Query Problem in Dreamweaver

    My advice would be, Dont use Dreamweaver for back end. Its a good design
    tool but it writes unnecesssary codings when it comes to php ( even
    javascript!). From what i see you are trying to do, You would probably need
    4 or 5 lines of php codes. Try to learn it by handcoding, specially if you
    are new to php.

    Cheers,
    Kumana J
    [email]kumana@elinx.ca[/email]



    "Aeris Leonna" <petra@aussiemx.com> wrote in message
    news:3f9357ad$3@news.unimelb.edu.au...
    > I am trying to retrieve data from mysql database using php code in
    > Dreamweaver. It is a simple query that is supposed to list all entries
    from
    > mysql database. When I created a recordset in Dreamweaver and tested it
    > everything was okay, but when I view results in actual php page I am
    getting
    > only first row and nothing else.
    >
    > Does anyone have solution for this problem?
    >
    > Thanks,
    > Aeris
    >
    >
    >

    Kman Guest

  4. #3

    Default Re: PHP/MySQL Query Problem in Dreamweaver

    Have you added the repeat region server behaviour to your recordset?

    In code view, you should have a <? do { ?> at the beginning of your query,
    followed by a <? } while $rs.......?> at the end





    "Kman" <kman_career@yahoo.com> wrote in message
    news:9ASkb.3108$7t3.80513@news20.bellglobal.com...
    > My advice would be, Dont use Dreamweaver for back end. Its a good design
    > tool but it writes unnecesssary codings when it comes to php ( even
    > javascript!). From what i see you are trying to do, You would probably
    need
    > 4 or 5 lines of php codes. Try to learn it by handcoding, specially if you
    > are new to php.
    >
    > Cheers,
    > Kumana J
    > [email]kumana@elinx.ca[/email]
    >
    >
    >
    > "Aeris Leonna" <petra@aussiemx.com> wrote in message
    > news:3f9357ad$3@news.unimelb.edu.au...
    > > I am trying to retrieve data from mysql database using php code in
    > > Dreamweaver. It is a simple query that is supposed to list all entries
    > from
    > > mysql database. When I created a recordset in Dreamweaver and tested it
    > > everything was okay, but when I view results in actual php page I am
    > getting
    > > only first row and nothing else.
    > >
    > > Does anyone have solution for this problem?
    > >
    > > Thanks,
    > > Aeris
    > >
    > >
    > >
    >
    >

    Craig Keightley Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139