:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 2:50 AM
To: 'Keiran Wynyard'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Form select field problem
Keiran,
A couple possibilities for you;
1. Try referring to the field (in JavaScript) as something like; (might have
to play around
Hi
I may be posting this to the wrong place, and if so I apologise. If someone knows of a
better place to post my query please tell me, and I will. :)
This problem is about 50% PHP and 50% Javascript, really to do with how the two
interface
with each other.
Anyhoo, down to the problem.
I
I have a form on a PHP page with which I wish to load a tab delimited text file into a
UNIX based MySQL database
By using PHPMyAdmin I have tested whether I can upload the file, using MyAdmin to help
me
construct the Query and to date in MyAdmin it works fine. Taking the query and
splitting
it
Is it possible for you to post a link for it, so that I do not have to try
and make it work as it stands at the moment?
I am more an HTML wiz than a PHP guru, and I think I may have had a similar
problem in the past that I solved, so I will try to help
Keiran
-Original Message-
From:
maybe try escaping the characters in the last line, or using ' instead...?
Keiran
-Original Message-
From: Ron [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: Forms
I know this is suppose to be databases, but the most knowledgeable
the idea)
while $myrow=mysql_fetch_row($result) {
if $myrow[dishtype]$test {
echo hr;
//here you would print the rest of the info about the dish from the row
}
$test=$myrow[dishtype];
}
Keiran Wynyard wrote:
I need to loop through a grouped recordset adding a hr at the
end
I need to loop through a grouped recordset adding a hr at the
end of each group, how can groups in recordsets be identified in
PHP for specific formatting.
SELECT name AS name, dishtype AS dishtype, price AS price
FROM dishes
WHERE used = 1
GROUP BY dishtype, name
ORDER BY dishtype, price