What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-23 08:00:34
codeboxx php dislike like
<?php // (A) USER SESSION - FIXED USER ID TO 1 FOR THIS DEMO session_start(); $_SESSION['user'] = 1; // (B) DUMMY POSTS $posts = [ "900" => "Foo Bar", "901" => "Boo Bar", "902" => "... Add solution -
PHP 2022-01-23 03:35:58
undefined index: tec_comm in c:\xampp\htdocs\fossee\user5.php on line 45
<?php require_once('../Connections/itemconn.php'); ?> <?php $id=$_GET['id']; $query=mysql_query("select * from manuf where id='$id' ")or die(mysql_error()); $row=mysql_fetch_array($query); ?> &... Add solution -
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 -
PHP 2022-01-22 09:45:28
Determine the percentage of the file uploaded to the server using php
$(function() { var bar = $('.bar'); var percent = $('.percent'); var status = $('#status'); $('form').ajaxForm({ beforeSend: function() { status.empty(); var percentVal = '0%'; bar.width(percen... Add solution -
Python 2021-12-23 16:43:24
python negative indexing
list = ["Python", "Java", "C++", "Javascript", "SQL", "PHP"] print(list[-1]) # "PHP" print(list[-4]) # "C++" print(list[:-3]) # ["Python", "Java", "C+... Add solution -
Html 2021-11-21 02:25:14
html input name
<form action="/action_page.php"> <label for="fname">First name:</label> <input type="text" id="fname" name="fname"><br><br> <label for="lname">Last... Add solution