Hello all and thank-you in advance for any help/suggestions. I've never made any javascript code before and I really want to use it for my problem. I program with PHP some what and have a question about forms. Does anyone know of a good tutorial/link that would show me how to make a form populated by MySQL data that would allow me to select a current date from the DB data then ask to input scores (for a baseball league) for 2 games (all selected games are double headers). I currently have it done with PHP but would really like to do it with Javascript.
CHEERS
Form script
Moderator: General Moderators
Re: Form script
Javascript can't interact with MySQL, so you can't do that. You could write some JS that talked to a PHP script that returned data in, for example, JSON format instead, but that's an added level of complexity.
As with everything to do with Javascript I suggest you look at jQuery.
As with everything to do with Javascript I suggest you look at jQuery.
-
Todlerone
- Forum Commoner
- Posts: 96
- Joined: Sun Oct 28, 2007 10:20 pm
- Location: Hamilton, Ontario, Canada
Re: Form script
TY onion