52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Joe_10

I have a simple form that I want the user to input their name and submit a picture. The name user name and photoname will goto the database. The form submits to the database, and fileuploads and renames correctly. My issue is how to I return the renamed filename to …

Web Development image php
Member Avatar for Joe_10
0
250
Member Avatar for Peter_32

I am writing a HTML application for an Arduino-based web server using only C and C++ on the Arduino webserver and HTML only on the client web browser. The index page is a simple form containg two radio buttons and a 'Submit' button BUT at the top of the page …

Member Avatar for rproffitt
0
210
Member Avatar for SimonIoa

Hello this is going to be a long post so thanks in advance for just reading it. I think it will help many users. I want to store additional data and to add new rows to a table. I know about mysql and php but i am not familiar with …

Web Development javascript json php
Member Avatar for SimonIoa
0
382
Member Avatar for catastrophe2

hi So ive deployed a small website i worked on, and before deployemnt on Amazon web services, i was of course testing everything on localhost. after seeing that things are working on localhost, i changed the localhost to the deployment link provided on AWS and things looked fine and all …

Web Development amazon-web-services api json php
Member Avatar for catastrophe2
0
494
Member Avatar for Ivan_10

I have this: <div class="to_remove"> <div class="widget widget-list"> <div class="panel panel-default"> <div class="panel-heading bold">Menu</div> <div class="panel-body"> content </div> </div> </div> </div> I need preg_replace to edit like this: <div class="widget widget-list"> <div class="panel panel-default"> <div class="panel-heading bold">Menu</div> <div class="panel-body"> content </div> </div> </div> I need to remove <div class="to_remove"></div> but …

Web Development html-css
Member Avatar for Ivan_10
0
334
Member Avatar for McLaren

Hello, I have about 5 years proffessional experience with PHP. I will try to apply for new jobs soon. But I was considering - maybe I should get the certification so they would believe my skills more. I myself understand that it does not bring much value to the business, …

Web Development php
Member Avatar for diafol
0
195
Member Avatar for Deepika_7

Hi, I am a newbie to web application and I am facing a problem in uploading a csv file. This is the input tag that I am using to select a file, `<input id="imprtUpldFileInpt" name="file" type="file"/>` And this is how I process the file details with jQuery, var file = …

Member Avatar for rproffitt
0
916
Member Avatar for AntonyRayan
Member Avatar for cereal
0
485
Member Avatar for showman13

I have been all over the internet trying to figure out how to plan an embedded youtube video in full screen automatically and have failed at every turn. Any ideas here? <iframe src="//www.youtube.com/embed/9ptECXgpIwk?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe> several links on the web say that the rel=0 is what makes it happen, but …

Web Development php video
Member Avatar for showman13
0
3K
Member Avatar for RainaAnja

when i try to open my webpage opens this,please help me

Web Development
Member Avatar for RainaAnja
0
122
Member Avatar for phphp

Dear Experts, I am using these codes <?php require_once("../includes/connectw.php"); require_once("../includes/functions.php"); $error=""; if(isset($_POST['login'])) { $muser=clean($_POST['username']); $mpass=clean($_POST['password']); if(empty($muser)) { $error="User name must not be empty"; } elseif (empty($mpass)) { /*echo ('<script>alert("Password must not be empty")</script>');*/ $error="User name must not be empty"; } else { $query="select * from admin where user ='".$muser."' and …

Web Development mysql php session
Member Avatar for cereal
0
161
Member Avatar for Stefce

$sql = "INSERT INTO kladilnica (Username, Uplata, Dobivka, Date, regTime, Odds, isActive, ticket_id, isShared, is_wined, Location) VALUES ('".$user."', '".$bet."', '".$gain."', '".$date."', '".$regTime."' '".$odds."', 1, $randomTicketID, 0, 0, '".$userLocation."')"; $result = $conn->query($sql); trigger_error('Wrong SQL: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR); I searched on google and found that …

Web Development php sql
Member Avatar for Stefce
0
982
Member Avatar for davy_yg

Hello, I almost forget. Last time someone recommend me a software that I could use repeatedly for sql database management that real web developer must have in exchange of the free one like xampp that often shows error. Can anyone help me fix this error? Thanks in advance, Davy

Web Development sql
Member Avatar for cereal
0
274
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 …

Web Development mysql php
Member Avatar for Raj_17
0
259
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?

Web Development php
Member Avatar for cereal
0
259
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
1,000
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']; …

Web Development php
Member Avatar for pritaeas
0
2K
Member Avatar for mitchell.schols

just curious. <img src="filepath.jpeg" id="idhere?" /> or <img id="idhere?" src="filepath.jpeg" /> which is valid? are they both vaild? and differences?

Web Development html-css oop
Member Avatar for mitchell.schols
0
181
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 …

Web Development file-system mysql php
0
186
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?

Web Development php streaming-service video
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 …

Web Development php
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 …

Web Development php
Member Avatar for bprosic
0
356
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 …

Web Development css-bootstrap mysql php
Member Avatar for diafol
0
441
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

Web Development html-css php
Member Avatar for pritaeas
0
5K
Member Avatar for faiza_4

HI all, I'm stuck in a code where i cannot read the database value in jsp textarea. Value stored in database like "address 1 address 2" and cannot be loaded on jsp page. Plz help.

Web Development java-jsp
Member Avatar for faiza_4
0
205
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 …

Web Development client-server javascript php
Member Avatar for diafol
0
384
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

Web Development javascript-jquery php
Member Avatar for cereal
0
518
Member Avatar for ganeshhsk

The problem that im facing is, the below code is working correctly and retrieve the pdf format files correctly and displaying it in the iframe. but it is only working in eclipse internal browser but not in firefox or internet explorer. what will be the reason for this.... Source code: …

Web Development file-system java-jsp pdf
Member Avatar for Vivek_18
0
2K
Member Avatar for beanboy

hi, The jsp page has multiple check boxes (retrieved from DB),.... [CODE] <input type="checkbox" name="selecttype" value="<%=rs2.getString("description") %>"/> [/CODE] I've read these values in to servlet page using [CODE] String[] selecttype=request.getParameterValues("selecttype"); [/CODE] the 'selecttype' now contains only selected checkbox values. but i want to retrieve values of unchecked checkboxes. Pls help …

Web Development java-jsp
Member Avatar for vk
0
4K
Member Avatar for Alishan_1

Can we define an object with own property but use pre-defined method??? For Example: I defined and Object: subject And use it with a method i.e: subject.write Can we???

Web Development javascript
Member Avatar for Alishan_1
0
109
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 …

Web Development mysql php seo
Member Avatar for rproffitt
0
1K
Member Avatar for vivekgalatage

Hi Guys, I m writing one HTML page where i wanted the page orientation to be set to LANDSCAPE through Javascript or CSS. So when I click on Print button or anyways on the HTML page, the print window will pop-up so now in that orientation property should be set …

Web Development html-css javascript
Member Avatar for Sara_14
0
22K
Member Avatar for Azer_1

I have created a simple Javascript slider with Slice and Box effects. It runs and no problem. But when i look up console, I see that after two cycles it throws an error. Browser says that document.getElementById('smth') cannot get specified element. What may be the problem? Below is codepen URL. …

Web Development javascript javascript-jquery
Member Avatar for Azer_1
0
141
Member Avatar for Ivan_10

I want to redirect every user on my site to folder - if folder exists with htaccess. Regardless to which page he wants to access (index.php, team.php, custom.php), he must be redirected to the folder I want.

Web Development apache http-protocol
Member Avatar for rproffitt
0
425
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) …

Web Development image php
Member Avatar for hielo
0
196
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 …

Web Development javascript mysql php
Member Avatar for rproffitt
0
1K
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 = …

Web Development php
Member Avatar for Stefce
0
390
Member Avatar for kkavita060

redirect url and create the seo url in htaccess file abc.com/cat=4

Web Development php seo
0
106
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 …

Web Development file-system image php
Member Avatar for series
0
2K
Member Avatar for rouse

I am looking for a jQuery tutorial that will show me how to do what I have heard called the garage door slide. Two panels that are initially closed, together. When a button is pressed or the panels are hovered over the panels move apart, one to the left and …

Web Development javascript javascript-jquery
Member Avatar for hericles
0
168
Member Avatar for Marco_4

Hello, how can I improve this form login with error alerts? For example, if the fields are empty, if entered data do not match any user, etc. etc. Right now my form is so, taking advantage of a class: if(isset($_POST['login'])){ //Retrieve the field values from our login form. $username = …

Web Development php
Member Avatar for diafol
0
406
Member Avatar for TheFearful

Hey everyone, I am trying to be able to have a textbox that only accepts numbers that is either 1 or greater but less than the number of items in a table from the databse. The queries work fine and such. What I'm trying to figure out is how to …

0
200
Member Avatar for bigignoramus

I have been wrestling with this subject for six months and can find no complete answer anywhere on the web or in any book seen. I have become very familiar with the debate and so it is not necessary to debate the following here. I had rather do all of …

Member Avatar for gentlemedia
0
2K
Member Avatar for makaijohn9

I want to build apps using play framework. I have looked on for [play framework for Java](https://www.eduonix.com/courses/Web-Development/learn-to-build-apps-using-play-framework?coupon_code=offer10) giving guide to build apps. If you are having some additional resources, pls share.

Member Avatar for gentlemedia
0
637
Member Avatar for Ivan_10

Hello there, I need a simple function which do something like tihs: I have folders like this: ext/test1/test1/index.html ext/test2/ ext/test1/test2/index.html ext/test3/ I need a function which gives me only folders with subfolders and files in it. The condition is to give a "ext/" folder in the function :) function get_subdirs('ext/') …

Web Development php
Member Avatar for rproffitt
0
215
Member Avatar for Amaina

This question is very similira to this [one](https://www.daniweb.com/programming/web-development/threads/472324/inserting-a-multidimensional-array-into-db) but with a little twist to it. I have an array that looks like this: Array ( [0] => Array ( [post_id] => 5410 [Issue] => 2010 [_Issue] => field_573d7fa8454e9 [_volume] => field_573d7f79ef9ab [volume] => 530 [_journals] => field_56d3de5ddc04d [pages] => 105-9 …

Web Development mysql php
Member Avatar for Amaina
0
445
Member Avatar for pezzinae

Hello everyone has in the past this site has been helpfull for any kind of project that i´ve done well, now it´s time for make some charges for the time that i been spending on those projects but i don´t know how, please ¿can you help me to make a …

Web Development asp asp.net web-design
Member Avatar for rproffitt
0
242
Member Avatar for Amaina

This question is similar to this [one](https://www.daniweb.com/programming/web-development/threads/371092/notice-undefined-index-id-on-line-26) However, my insert does not involve a form but a direct mysql query that looks like this $query2 = "insert into table(author,title,abstract) values(:author,:title,:abstract) "; $stm=$con->prepare($query2); $stm->bindValue(':author', $author, PDO::PARAM_STR); $stm->bindValue(':title', $title, PDO::PARAM_STR); $stm->bindValue(':abstract', $abstract, PDO::PARAM_STR); $stm->execute(); echo "$author &nbsp $title &nbsp $abstract <br>" In …

Web Development mysql php
Member Avatar for Amaina
0
282
Member Avatar for Amaina

I want to insert multiple records to wp_posts table in word press using a mysql query and not the front-end. I also want these new records(that i insert into wp_posts) to insert metadata into wp_postmeta table. My question is how can i do this? How does wp_posts update wp_postmeta if …

Web Development mysql php wordpress
Member Avatar for Amaina
0
759

The End.