39,316 Topics
| |
I tried your example in "how to inserting files on mysql using LARAVEL" article. When i choose the .docx file for file upload, i get an error "CLI has stopped working". Kindly help to resolve this issue. Code is exactly the same as the one in your article. Laravel version … | |
The code is: `echo " AS " . $index - 10 . " - " . $index . " SA ";` `$index` is an integer. The output is: `-10 - 0 SA` The expected output is: `AS -10 - 0 SA` What am I missing? | |
I'm using `html2canvas.js & jquery.plugin.html2canvas.js` to save generated receipt. Receipt have 985px height & 350px width. But it is saving only 100px height of image **Need help to find problem AND/OR save receipt** <div class="confirmation-wrapper booking-summary" id="canvas"> <div class="confirmation-content"> <h4>Your Booking Information</h4> </div> <ul class="book-sum-list"> <li></li><li></li>.... <!--All Booking Information--> </ul> … | |
Hi, ive been working on a project which in web with php and mysql. My goal is simple user/admin can input two dates then the result of the query will exported in excel. here's my code which i manage to extract the query from database: if(isset($_POST['submit'])){ // $frdate = $_POST['fr-date']; … | |
I am using the [jQuery File Upload plugin by Blueimp](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads#cross-site-xmlhttprequest-file-uploads) to upload images to a server. The problem is, the sending server is `admin.example.com`, and the receiving server where the images are stored is on `www.example.com`. Same domain, different subdomain. I followed the [instructions here on setting up cross-domain uploads](http://blueimp.github.io/jQuery-File-Upload/), … | |
I drew a picture of the database performance for editing. But I try not to choose a new image. Then press the update appears that it does not send the originals back. If you choose a new image It was able to get regular updates. If not, select and click … | |
I have a code that is going to pick the page title of the previous page and autopopulate a field in a form i have created. Users pick the job they want then upon clicking apply the go to an application form. There is a field that is being autopopulated … | |
Before asking, I would like to clarify, youtube-dl is **not** available to me as I'm on shared web hosting. Is there any way to download a Youtube video using PHP WITHOUT youtube-dl? | |
Hi, I am gone crosseyed from trying to figure this out. I dont ususally post on this site I am half scared of getting told off for being out of my league!!! I am creating a website for a training company and I need to get the course info from … | |
hello, I have four arrays. Three arrays are in one group and fourth is in the second group. And I need to use array_diff somehow between theese two groups. First group has one array which contains unique numbers (like barcode number), second array with a product name and third array … | |
**I want to add multiple Record. Add 1 record if it is to insert 1 record , but if 5 recoed data will insert 5 record. Sorry i'm not good english** images 1 [Click Here](http://i.stack.imgur.com/K4XdO.png) images 2 [Click Here](http://i.stack.imgur.com/K4XdO.png) <?php include_once("connect.inc.php"); if (isset($_POST['submit'])) { $i = 0; foreach ($_POST as … | |
I want to parse .doc files or convert it to HTML or txt files when user upload it. i found this link ( [url]http://instruform.com/wordconv.phps[/url]) but it is not working. Can anybody suggest some php script for the same.(need urgently). please give some suggestion.... Thanks in advance | |
Hi guys I need a help here, I’m trying to use Ajax to update the column of the table in the database with combobox without a submit button, by the way it update the column finely but unfortunately the column data is erased to **0** when a webpage is refreshed. … | |
Sir, I have following codes $host="localhost"; $username="a6354924"; $password="123456"; $db_name="a6354924_abc"; $con=mysqli_connect($host, $username, $password,$db_name); Database and error screen shots are attached. Facing this error Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'a6354924'@'localhost' (using password: YES) in /home/a6354924/public_html/includes/connectw.php on line 8 Please help ![bb.png](/attachments/large/4/fbdbb0256159fb1e37206885586bb629.png "align-center") ![aa.png](/attachments/large/4/a698d9811a5f5dc1b6d3644051ab551e.png "align-center") | |
Making sites is nice and fun but what if you don't want everybody too see something like an admin panel or maybe a special button. Well this tutorial helps you understand how to add a password to a php site in a simple manner. There are two techniques you can … | |
i have project named myapp in C drive and i am using php built in server so my doc root of project is set to be myapp/public/ containing js,css etc now these js files have some ajax code and calls php scripts in myapp/src folder outside public folder so obivously … | |
i need help, i want to create a smart auto complete using a text box, it fill clients names from client database, is it any way to create those without jquery, thanks | |
is there a plugin for video rating in WordPress that visitor be able to rate thumbs up or thumbs down continuously thought that video I mean be able to rate thumbs up or thumbs downs during the time they watch the video? for example thumb up at 01:05 and thumb … | |
I was working on bank ifsc code search engine which provides all branch details for every bank in India. I used Php and Mysql to handle database queries and data retrieval. The whole project looks good but there were some technical limitations stopping me. Like, i have done all SEO … | |
I am getting: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 79 bytes) in /path/dbclass.php on line 225 line 225 : $row = mysql_fetch_assoc($res); 1. It was 64M; increased to 128M but no luck. 2. I added ini_set('memory_limit', '-1'); at top of the page but no … | |
How to add triggers in my PHP site? Is it easy to add? What is its syntax & procedure to add it in my site? | |
Hi, I'm kinda new to php and mysql. I'm making a basic shopping cart using 2 database tables. I want my cart to display items from the 2 tables into 1 html table. I ran into a problem giving the 2 database tables the same id name, so now I … | |
Hi, I used MathJax with CKEditor but now I am creating a WYSIWYG Editor using HTML and Javascript. I am quite stuck in this part. I like to make a Button(for Mathjax) like in CKEditor when I click it a box opens I can write formula in latex format and … | |
Sir I have following codes <?php if (isset($_POST['submit'])) { $allowedExts = array("gif", "jpeg", "jpg", "png"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/jpg") || ($_FILES["file"]["type"] == "image/pjpeg") || ($_FILES["file"]["type"] == "image/x-png") || ($_FILES["file"]["type"] == "image/png")) && ($_FILES["file"]["size"] < 20000) … | |
Hi guys, I'm busy testing storing PHP variables in a MySQL table but I'm having difficulties using them as variables when pulling them from MySQL. When I pull the variables is displayed as a normal string and I'm not able to use them as a variable. Is it possible to … | |
Hi all, i'm currently workin on a project and i need to show on a maps the live position of my car. i have an arduino wich send every 5sec to my DB the position The problem is that i can't figure out how to refresh my polylines every 5second … | |
is there a plugin for video rating in WordPress that visitor be able to rate thumbs up or thumbs down continuously thought that video I mean be able to rate thumbs up or thumbs downs during the time they watch the video? for example thumb up at 01:05 and thumb … | |
I have problem with selecting elements from array i have this code which is supposed to take the choosed element and echo it back but instead that this code just takes last element and echo it what is wrong with the code ? <div class="col-xs-3"> <?php global $m; $currencies = … | |
redirect url and create the seo url in htaccess file abc.com/cat=4 | |
Good day ,wish to know how to upload multiple image files with multiple inputs and multiple directories. My code is <table border="1px" width="100%"> <tr><td colspan="3" style="background-color:#E8E8E8"><b>Supporting documents upload</b></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="pri" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult2" required ></td></tr> <tr><td> </td><td … |
The End.