Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Client-side Scripting _ Details about ajax

Posted by: The_webmaster Feb 5 2021, 04:48 AM

Hello guy please i have tried ajax on my webpage but it did'nt work please can ajax save and display submited forms without database, Thanks in advance.

Posted by: pandy Feb 5 2021, 06:36 AM

Save to a file on the server? I don't do Ajax, but I don't think you can do that with Ajax alone but need to also engage some server side language such as PHP.

But wait for Christian. He doesn't do Ajax either, but he might know better than me anyway. tongue.gif

Posted by: The_webmaster Feb 5 2021, 08:04 AM

Thanks for your reply i have goten it.

Posted by: Christian J Feb 5 2021, 11:08 AM

QUOTE(pandy @ Feb 5 2021, 12:36 PM) *

Save to a file on the server? I don't do Ajax, but I don't think you can do that with Ajax alone but need to also engage some server side language such as PHP.

That's correct. But you don't need a database for it.

The advantage with Ajax is that you don't need to load a new web page to communicate with the server-side script, instead it can be done in the background from the same page.


Posted by: The_webmaster Feb 6 2021, 05:46 AM

But please how can i do it without database, i only know how to do it with database.

Posted by: Christian J Feb 6 2021, 08:54 AM

You could use a text file instead: https://en.wikipedia.org/wiki/Flatfile

Posted by: The_webmaster Feb 6 2021, 10:54 AM

QUOTE(Christian J @ Feb 6 2021, 08:54 AM) *

You could use a text file instead: https://en.wikipedia.org/wiki/Flatfile

Thanks

Posted by: The_webmaster Feb 25 2021, 04:14 AM

Thanks all, i have gotten a nice ajax that submits a form with reloading the page and it has been working. Thanks for your reply

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)