mysql - How to create igoogle layout(drag & drop & store) using PHP and AJAX? -


In Iguaz, we can pull & amp; Drop the module and then if we get out of the browser and open it again, then the position of each module is same. I have tested some things:

  1. When not logged in, iogoglogles store the status of the module in my cookies (cache). Because if I clean the cache, it goes back to the original state.

  2. When I log in, after the status of the module, even I logged out and cleared my cache, if I log in again, the module still That's it, not back to the original position.

What do I want to ask:

  1. How to log in to store the module status and user Not logged in?

  2. What are the necessary skills? (I use php, mysql and jquery)

  3. Is there a good tutorial that I can reference?

Here's a great tutorial:

You have to store user data in my SQL table. Maybe set up a "column / row" column in your MySQL table with the linked Content ID. If there is no information about your relational database, then starting there would be a good idea. If you understand DB fundamentals, then it will be a simple update query to store users' information on a cookie basis, which is going to end in the future by now.

If you allow users to log in (like google), then use of cookies is not necessary (but still can be useful) because you can use that div position data Which are stored in your mysql table.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -