What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-06 16:26:15
Notice: Trying to access array offset on value of type int in /var/www/pdam/modules/phpexcel/PHPExcel/Cell/DefaultValueBinder.php on line 82
/* If you are having this issue with Opencart's export / import extension: Trying to access array offset on value of type int in ../../../system/library/export_import/Classes/PHPExcel/Cell/DefaultValueBinder.php on line 82 Then you need... Add solution -
Javascript 2022-02-05 00:15:05
javascript progress of xml http request
<!DOCTYPE html> <html> <body> <p id="demo">result</p> <button type="button" onclick="get_post_ajax();">Change Content</button> <script type="text/javascript"> functio... Add solution -
Other 2022-02-04 15:55:50
html input type string
<form action="/action_page.php"> <label for="username">Username: </label> <input type="text" id="username" name="username"><br> <inp... Add solution -
PHP 2022-02-03 07:10:02
How to use my constants in Larvel
Create a file constants.php inside app/config/ and put your settings in an array: <?php //file : app/config/constants.php return [ 'ADMIN_NAME' => 'administrator' ]; Then anywhere in your controllers or views you can get the value by using Confi... Add solution -
PHP 2022-02-02 23:21:02
php form not reading from database
<?php // Get the assignment data $proj_id = filter_input(INPUT_POST, 'proj_id'); $ass_num = filter_input(INPUT_POST, 'ass_num', FILTER_VALIDATE_INT); $charge = filter_input(INPUT_POST, 'charge', FILTER_VALIDATE_FLOAT); $chg_hr = filter_input(INPUT_POS... Add solution -
PHP 2022-02-02 22:05:42
SMTP -> ERROR: Failed to connect to server: Connection refused (111)SMTP Connect() failed.
<?php include "emails/PHPMailer/PHPMailerAutoload.php"; //or just include the phpMailer //Create a new PHPMailer instance $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 1; $mail->SMTPAuth =... Add solution