@Emmanuel77
Website & Android Developer
Am enthusiastic,responsible and hard-working Programmer.Being worked for different projects helped me to adopt to changes quickly and made me a mature team member. Able to work well both in teams and using my own initiative.
website and android development
No blogs yet.
I have have been able to upload my site on a live server.Check it out. startupfailure.000webhostapp.com Free hosting for now bcos am on low budget for now.Currently, u gave me some suggestion and i want to act upon it now. 1.First, i should take JSON in my ajax response.For this, i just need to search and i will get online resource for that. 2.Secondly, creating an api.php to handle all my ajax request.I will be glad if you can give me the template for the structuring.
Man, i need your help authentication system This is the problem am facing now.There is a successful message or the registration but data does not insert. Secondly, there is a success message for the login but there is no redirection.What is wrong please?Here is a link to my code.. https://pastebin.com/b0DPUp0b
What is POEM? I tried googling and find "code poetry" but i dont think it's the right answer.Secondly, you said, i dont "else" the result of checking for existing users in the "register"function.I have done that in your code.Maybe, it escaped you.You also said, you have to see the form. The form is actually already included in the code.You just have to scroll down the page when you access the pastebin.I have updated the pastebin to see my current script. By the way, this is what is happening now. Am getting an error of "registration failed" when i try to register new user but the form data get inserted into the database table. I also get a success message of "login successful" but am not directed to the page specified. What is going on under hood causing these?
Fix one:earliest comment to display related to a specific post. In the pastebin you provide recently, you are using an "if" statement instead of the while loop.I have manged to show earliest comment related to a specific post but it's not the best.I will have more time to fix that. This is just by the way.I want the application to go live now as am loosing motivation for it.I struggle a lot to get things done and sometimes help from other developers.Dont mine me too much here,part of the journey. Currently, am on the like system and am facing the problem i first made,that's the display of html codes when the "like" button is clicked. This is a gist of the code currently. https://pastebin.com/fNhpv09u
I can see the "success" in my console. This is what i want to achieve in the success function. i want the user post(#exampleTeaxtarea) to appear in this div(#receivingPost). king of programming is not found in my database currently.As a result, i cannot give vivid answer. For where to place the end of the curly braces, i will just have to keep on trying.It will work one day for me. Please below is the flow of logic for my application. First, the user makes a post in the #exampleTextarea div.The post the leaved the div and must appear in the #receivingPost div. When the #comment-section is clicked,the #comment-two div appears.Here is where user's will input their comment. When user's input their comment,the comment must appear in the #single-comment div. So if you get the scene well, you will noticed that the current post and it's comment will appear in the frontpage of the application and the post likes,not all post,comments and likes. Truly, i will like to know you can do screen sharing with me.I helps speed development faster that commenting ,stand to be corrected. Just to make the scene more clear. When another makes a post, the first one will have to be saved in the database and leaves the div automatically.When the comment button is clicked, a new comment area appears for the user and the comment is being displayed in a div.
my validate function so far. https://pastebin.com/fNhpv09u What is still wrong.I truely know this is supposed to work but it's not. Have a look at the duplicate i was talking about.It seems you did not get that statement well.Below is the link. [IMG]http://i65.tinypic.com/106egbk.png[/IMG]
Am using my original code with little modification you showed me. I normally check my data as am developing.I dont even know what to again,but there is always a way. Even i wonder with all the changes i implemented from the changes you showed me ,yet still the page still refreshes.