Miguel Guirao wrote:
You are right David, I have an auto_increment field!!
What about this:
$items2 = mysql_query(SELECT DISTINCT rev FROM rev ORDER BY rev, $link);
where rev is a revision field for parts in my wharehouse!!!
Does it will work in this case?
Thanks
-Original
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
Ryan
From: Dimiter
Ryan,
you should be able to refer to the listbox in javascript as
document.formName.elements['listBoxName[]'].
Hope this helps... Dusty
Ryan Jameson wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format:
Ryan Jameson (USA) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
There is a function called
It's not a problem. Just refer to it using elements[]
document.form_name.elements[fieldname[Value]]
On May 18, 2005, at 2:59 PM, Ryan Jameson ((USA)) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
Well i did not see why the name have to be with
brackets [], can you show some code ?
If you create the select in the way that i said, the
name of the select will not have brackets , and the
javascript have to work.
--- Ryan Jameson (USA) [EMAIL PROTECTED] wrote:
That's not the problem. The
Patel, Aman wrote:
Ryan Jameson (USA) wrote:
That's not the problem. The problem is referring to the listbox via
javascript. It doesn't like the format: formName.listBoxName[].value it
has no problem with formName.listBoxName.value but then PHP doesn't seem
to handle it correctly.
There is a