Need some help using checkbox and select query.

Remember to change the name="" to the name of your form. I’m trying to give you your version of the code back to you but sometimes I will slip up somewhere. So just do a quick scan to check the database field names, connection and things.

Thanks lothop I’m really learning because of you. Thank you very much! I’ll get back to you when I figure it out. I still can’t link it.

What do you mean still cant link it?

The javascript is not working, It’s not redirecting to view.php when I click the subject.

You have removed your previous javascript? The code within the
And are using
[php]echo ’

'.$row->index.' Submit '.$row->writer.' '.$row->registerTime.' ';[/php]

As your form?

here,

[php]while($row = mysql_fetch_object($result))
{
echo"";
echo ’

'.$row->index.' '.$row->subject.' '.$row->writer.' '.$row->registerTime.' ';

echo “”;
}[/php]

I’ve been working on this for hours. It’s not linking to the other page.

Try removing
echo"";

[php]while($row = mysql_fetch_object($result))
{
/*echo"";
echo ’

'.$row->index.' '.$row->subject.' '.$row->writer.' '.$row->registerTime.' ';

echo “”;
}[/php]

This is what happened.

I managed to make it link but if I check one or the other checkbox except the first one it results to an error.

Sorry, the image html link didn’t work.

So what happen is that the links are not linking to view.php

Sponsor our Newsletter | Privacy Policy | Terms of Service