Thunderbird 0 Posted April 14, 2010 Hi fellas, I'm working on a little project here which requires a website. This website has to be interactive. It contains a sort of schedule allowing the user to click on a case and then be able to insert a 'string'. Here is a little image illustrating what I'm trying to explain: -------------------- - Would it be possible to do this exclusively with the PHP language by using the array system? - If yes, how can I make the 'case' clickable ? - If no, what would you suggest? -------------------- Thanks a lot, Best Regards, TB Share this post Link to post Share on other sites
TimRiceSE 10 Posted April 14, 2010 (edited) look into jQuery to provide the interactiveness of the interface. PHP and MySQL can take care of the persistant storage. Im sure theres something useful in this. http://www.datatables.net/examples/api/editable.html Edited April 14, 2010 by TimRiceSE Share this post Link to post Share on other sites
rundll.exe 12 Posted April 14, 2010 You could make a simple Javascript that replaces the static text by a textbox when clicked. Then you could simply submit the form and put it in a mySQL database with php. It requires reloading the page tho, but I dont think that will be a problem? Share this post Link to post Share on other sites
abs 2 Posted April 14, 2010 If you know Javascript, then it wouldn't be much of a jump to learn Ajax, which would then negate reloading the page. Share this post Link to post Share on other sites
Thunderbird 0 Posted April 14, 2010 Cheers for the tips, I will give a go to the jQuery librairies with the hope to find something already done as I'm quite limited in time. Thanks again all. Best Regards, TB Share this post Link to post Share on other sites