Search the Community
Showing results for tags 'mysql'.
Found 3 results
sahil posted a topic in Applications & CodingI started learning PhP recently and I am trying to create a social network for practice, I have got signup login and user homepage figured out what I can't seem to think about is the logic behind adding friends and blocking people. I tried looking it up and all the answers were a little too complicated for me to understand so if someone could please help me and explain the logic behind this would be a great help. Thank you.
I am trying to create a chat function for my website and I just wanted to know whether it's a good idea to store the history in a txt file. I wanted to know wheater it would create extra load on the server and if there are any other means of storing data for storing chat data please do suggest them also I tried to store data in mysql directly, what I was doing (on localhost) was creating different tables for storing chats in the Tables, for example if user1 texts user2 the Table would be user1:user2 and then the rest of the chat would be a database entry. Any help would be really appreciated. If there are any disadvantages of storing chat data in txt form could you please write that down as well? Thanks a lot.
I am trying to create a website where people can create an account but I am not able to figure out how do I display the user information. I mean should I create separate php files for each and every user or should I just make one file with headers that'll change the user information according to their session id. I hope you get what I am trying to say. Can anyone help me out.