Chris Payne wrote:
Basically, aswell as sending the ID,
I need to send the title and path too
and i'm abit confused.
input type=checkbox name=del[] value=?=$id?
You could pass the value as id/title/path where / is a delimiter, then
pull it apart on the other side.
Or, you could format 3
Chris - it might take a little work, but I think I have a good solution
for ya. I would maybe use the $id as the key, and then use hidden inputs
to set the other stuff in a multidimensional array. like so
input type=checkbox name=del[?=$id?][path] value=?=$path?
input type=hidden
]
Subject: Re: [PHP-DB] Urgent help needed
Chris Payne wrote:
Basically, aswell as sending the ID,
I need to send the title and path too
and i'm abit confused.
input type=checkbox name=del[] value=?=$id?
You could pass the value as id/title/path where / is a delimiter, then
pull it apart
In the input definition onclick call a javascript function with all your parameters.
Might be a missing quote here and there but this is close to ones I use all the time:
echo brinput type=button value = \Go\
onClick=\yourjavascriptfunction('$parameter1','$parameter2','$parameter3')\;
Now