What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-22 12:55:08
ajax request for inserting php data to db
<!DOCTYPE html> <html> <head> <title>Insert data in MySQL database using Ajax</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <scrip... Add solution -
Python 2021-11-07 18:09:20
how to save form data to database in flask\
# routes.py import sqlite3 as sql from my_app import app from flask import render_template, request # connect to qa_database.sq (database will be created, if not exist) con = sql.connect('qa_database.db') con.execute('CREATE TABLE IF NOT EXISTS tbl_QA ... Add solution -
Other 2021-10-22 18:45:07
priority queue using array in c
#include<stdio.h> #define N 20 int Q[N],Pr[N]; int r = -1,f = -1; void enqueue(int data,int p)//Enqueue function to insert data and its priority in queue { int i; if((f==0)&&(r==N-1)) //Check if Queue is full printf("Queue is full&q... Add solution -
PHP 2021-10-17 05:28:04
how to insert json data into mysql using php
<?php $josndata = '{ "student":{ "name":"Harry", "country":"United State", "ContactNo":2545454 } }'; // Database connection $conn = new mysqli('localhost', 'username', 'password', 'databa... Add solution -
PHP 2021-10-06 20:40:04
php insert and display data
<?php //including the database connection file include("config.php"); if(isset($_POST['Submit'])) { $pname = $_POST['pname']; $pcode = $_POST['pcode']; $pprice = $_POST['pprice']; // checking empty fields if(empty($pname) || empt... Add solution