39,316 Topics

Member Avatar for
Member Avatar for Raj_17

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 …

Member Avatar for Raj_17
0
256
Member Avatar for A_6

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?

Member Avatar for cereal
0
256
Member Avatar for hrushi9

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> …

Member Avatar for rproffitt
0
999
Member Avatar for OtepTheThird

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']; …

Member Avatar for pritaeas
0
2K
Member Avatar for calebcook

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/), …

Member Avatar for Fyan Estu
0
19K
Member Avatar for Goddy_1

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 …

0
181
Member Avatar for Stephano

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 …

Member Avatar for Stephano
0
131
Member Avatar for JackticalNuke

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?

Member Avatar for tiểu
0
2K
Member Avatar for donz365

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 …

Member Avatar for cereal
0
11K
Member Avatar for bprosic

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 …

Member Avatar for bprosic
0
352
Member Avatar for Goddy_1

**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 …

Member Avatar for diafol
0
440
Member Avatar for namigo

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

Member Avatar for pritaeas
0
5K
Member Avatar for Hamis_3

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. …

Member Avatar for grant.baker
0
303
Member Avatar for phphp

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")

Member Avatar for cereal
0
99
Member Avatar for cwarn23

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 …

Member Avatar for diafol
5
2K
Member Avatar for shany0786

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 …

Member Avatar for diafol
0
378
Member Avatar for rayearth_1

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

Member Avatar for cereal
0
498
Member Avatar for Arya_2

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 …

Member Avatar for rproffitt
0
103
Member Avatar for ajahar

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 …

Member Avatar for rproffitt
0
1K
Member Avatar for Abhi_6

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 …

Member Avatar for cereal
0
309
Member Avatar for Rennie_1

How to add triggers in my PHP site? Is it easy to add? What is its syntax & procedure to add it in my site?

Member Avatar for cereal
0
95
Member Avatar for cork

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 …

Member Avatar for Rennie_1
1
10K
Member Avatar for Mani_11

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 …

Member Avatar for Mani_11
0
60
Member Avatar for phphp

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) …

Member Avatar for hielo
0
194
Member Avatar for LRNPHP

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 …

Member Avatar for pzuurveen
0
111
Member Avatar for riccardo_1

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 …

Member Avatar for rproffitt
0
1K
Member Avatar for Arya_2

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 …

Member Avatar for rubberman
0
69
Member Avatar for Stefce

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 = …

Member Avatar for Stefce
0
383
Member Avatar for kkavita060
0
104
Member Avatar for Sadiq_2

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 …

Member Avatar for series
0
2K

The End.