Skip to content

Commit 9b58d79

Browse files
authored
Merge pull request #1 from RamRajuE/master
feature(EJ2-67755): Scheduler CRUD integration in PHP
2 parents 959055c + 9afdc1a commit 9b58d79

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
# Javascript-Scheduler-CRUD-PHP-and-MySQL
1+
# Javascript-Scheduler-CRUD-PHP-and-MySQL
2+
Syncfusion Scheduler CRUD Application with PHP and MySQL database.
3+
4+
## Prerequisites
5+
- [MySQL](https://www.mysql.com/)
6+
- [XAMPPSERVER](https://www.apachefriends.org/)
7+
8+
## MySQL Configuration
9+
10+
- In `server.php` file update the USER Name, PASSWORD, and DataBase as per the database configuration.
11+
- In your Database create a table with the necessary fields
12+
- The SQL query required for creating the necessary table is being located in the `scheduledb.sql` file within the DB folder.
13+
14+
## Start Xampp Server
15+
16+
- Please proceed with the download and installation of the XAMPP server on your system.
17+
- After the successful installation of the XAMPP server, kindly launch the application and start the Apache server.
18+
- Please copy the `Javascript-Scheduler-CRUD-PHP-and-MySQL` repository and place it in the XAMPP server's root directory, specifically at `C:\xampp\htdocs`.
19+
- Upon completion, kindly launch a web browser and navigate to `localhost`, you will be able to see the server running.
20+
- Next, please navigate to `localhost/Javascript-Scheduler-CRUD-PHP-and-MySQL` in your web browser. You will now be able to access the running Syncfusion scheduler application.
21+
- Now you can perform the `CRUD` operations, and it will be reflected on MySQL Database.

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<div id="Schedule"></div>
2222
<script>
2323
var dataManager = new ej.data.DataManager({
24-
url: "http://localhost/ej2-php-crud-service/server.php",
25-
crudUrl: "http://localhost/ej2-php-crud-service/server.php",
24+
url: "http://localhost/Javascript-Scheduler-CRUD-PHP-and-MySQL/server.php",
25+
crudUrl: "http://localhost/Javascript-Scheduler-CRUD-PHP-and-MySQL/server.php",
2626
adaptor: new ej.data.UrlAdaptor(),
2727
crossDomain: true
2828
});

server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
$servername = "localhost";
33
$username = "root";
4-
$password = "Ram@09121997";
4+
$password = "Sync@09121997";
55
$dbname = "syncfusion";
66

77
$conn = new mysqli($servername, $username, $password, $dbname);

0 commit comments

Comments
 (0)