• How to create something like this?
    4 replies, posted
I want to create something sort of like [url]http://gw2lfg.com/[/url] where you can put stuff in the form and it displays it in the table like that, but you can also edit and delete it if needed, how would I go about doing this? I know HTML/CSS, some jQuery, and basic PHP, but I don't really know where to start :S
This is actually just a really simple implementation of the jQuery plugin [url=http://datatables.net/]DataTables[/url]. You fetch all the information from the database, throw it in a table in your html output, and invoke it with $('#mytable').dataTable().
[QUOTE=deadeye536;41246545]This is actually just a really simple implementation of the jQuery plugin [url=http://datatables.net/]DataTables[/url]. You fetch all the information from the database, throw it in a table in your html output, and invoke it with $('#mytable').dataTable().[/QUOTE] O_O I think I love you [editline]30th June 2013[/editline] [QUOTE=deadeye536;41246545]This is actually just a really simple implementation of the jQuery plugin [url=http://datatables.net/]DataTables[/url]. You fetch all the information from the database, throw it in a table in your html output, and invoke it with $('#mytable').dataTable().[/QUOTE] Bleh, even with this I'm still confused on where to go from here
It sounds like you don't know how to create, edit and delete information in a database via PHP. Start with outputting the information in a basic table via PHP. I wouldn't try that DataTables stuff just yet. Since you need to learn PHP and MySQL I would recommend this book. It teaches you how to setup MySQL and it sounds you like haven't used it before. [URL]http://www.sitepoint.com/books/phpmysql5/[/URL]
[QUOTE=cyber_cam34;41248322]It sounds like you don't know how to create, edit and delete information in a database via PHP. Start with outputting the information in a basic table via PHP. I wouldn't try that DataTables stuff just yet. Since you need to learn PHP and MySQL I would recommend this book. It teaches you how to setup MySQL and it sounds you like haven't used it before. [URL]http://www.sitepoint.com/books/phpmysql5/[/URL][/QUOTE] Don't really have the money for a book right now :/ I'm having trouble with the form part, like how to get from typing in the fields and pressing the submit button, to displaying it in a table for everyone to see, I don't think MySQL will be needed for this? If so, I could really use some help, heh [editline]1st July 2013[/editline] I seem to have figured out a bit of the basics but I am having trouble, how do I make it so the user who added to the table is the one who can edit what they added, and nobody else.
Sorry, you need to Log In to post a reply to this thread.