Ask a Question related to PHP Development, Design and Development.
-
Aeris Leonna #1
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
-
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... -
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... -
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... -
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... -
Problem with MySQL Query
Problem with mySQL Query This is the query I have: $dbqueryshipping1 = "select * from tempuserpurchase where... -
Kman #2
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...from> 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 entriesgetting> 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> only first row and nothing else.
>
> Does anyone have solution for this problem?
>
> Thanks,
> Aeris
>
>
>
Kman Guest
-
Craig Keightley #3
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...need> 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> 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...> from> > 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> getting> > 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>> > only first row and nothing else.
> >
> > Does anyone have solution for this problem?
> >
> > Thanks,
> > Aeris
> >
> >
> >
>
Craig Keightley Guest



Reply With Quote

