javascript to php variable

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

javascript to php variable

Post by neophyte »

I'm trying to capture the value of the index below in a php variable. Any suggestions?

<script language='javascript'>document.addcategory.category.selectedIndex
</script>
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Rule Number One

Post by neophyte »

Rule Number one always look for answers before posting.

Rule Number two see rule number one.

Found my answer. :oops:
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Good to hear. Maybe post your solution for future generations to ponder? ;)
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply