We have to save this file with the name addCourses.php and add the below code to it. After creating this folder we simply have to open this folder in VS code.Īfter you open your folder in VS code, inside that folder we have to press a shortcut key as Ctrl+N our new file will be created. Now for writing your PHP script we can use any simple text editor. Inside this folder, we will be storing all our PHP scripts. Inside that folder navigate to htdocs folder and create a new folder in that and name it as courseApp. Now we have to navigate to C drive in your pc and inside that check for the folder name as xampp. In this article, we will be creating a script for adding data to our database. In the previous article, we have seen starting our XAMPP server and we also have created our database. Step 1: Start your XAMPP server which we have seen starting in the previous article Using this script we will be adding data to our SQL table. We will be building a simple PHP script in which we will be used to add data to our SQL table which we have created in our previous article. Best Way to Become Android Developer – A Complete RoadmapĬreate a new PHP script for adding new data to that database in our SQL Database.External Storage in Android with Example.Firebase Authentication with Phone Number OTP in Android.
Php viewer android how to#
How to Upload Project on GitHub from Android Studio?.How to Create and Add Data to SQLite Database in Android?.
Php viewer android install#