52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arctushar

Hi I want to make a dictionry using html5. For example I have words 1. good 2. bad 3. hot 4. cold Now I want that in index page this words will be shown as 3 column. If I click on any word, the meaning of the word should display. …

Web Development html-css
Member Avatar for JorgeM
0
189
Member Avatar for PF2G

Hi, how can i know (with an alert) the value i selected, from the #layout_select: <script> $(document).ready(function() { var optarray = $("#layout_select").children('option').map(function() { return { "value": this.value, "option": "<option value='" + this.value + "'>" + this.text + "</option>" } }) $("#column_select").change(function() { $("#layout_select").children('option').remove(); var addoptarr = []; for (i = …

Web Development html-css javascript
Member Avatar for PF2G
0
433
Member Avatar for pawan768

Hi, I tried to generate a script which can download youtube video on server end, I only need to provide the video url ... I serached alots but <?php // Check download token if (empty($_GET['mime']) OR empty($_GET['token'])) { exit('Invalid download token 8{'); } // Set operation params $mime = filter_var($_GET['mime']); …

Member Avatar for Rahul47
0
362
Member Avatar for pawan768

Hi, I'm new with WordPress plugin development, I try to login and install a plugin with the WP user credentials without using login panel just like managewp.com people do.., they ask me for my site name,username,pwd then they automatically install their own plugin to my WordPress and one more thing …

Web Development php wordpress
Member Avatar for pawan768
0
318
Member Avatar for joshmac

I am not a jquery guru in any sense, so I am seeking some help with the below code. What I am trying to do, is populate two input fields, based on what is selected from a dropdown field via a database call. When I select a term from the …

Member Avatar for joshmac
0
977
Member Avatar for jelly46

Can some one help? I am looking for a **content slider that can hold images and text and has dot navigation**. I have searched for so many on the net but nothing that is simple. I would like it to look like this http://www.bbk.ac.uk/ but the content slides across **not** …

Web Development javascript
Member Avatar for pritaeas
0
189
Member Avatar for xxmp

I am using apache james 3 and when i am trying to send a e-mail although it seems that i send the e-mail i have this error at apache james: INFO 00:51:21,527 | james.smtpserver | Id='882742847' User='' Connection established from 127.0.0.1 INFO 00:51:21,608 | james.smtpserver | Id='882742847' User='' Successfully spooled …

Web Development apache java-jsp
Member Avatar for JorgeM
0
332
Member Avatar for ourloop

The below code displays correctly, I need an "IF" statement that prevents displaying rows with 0% in the percent column and I've tried several conditions. None are working. I only want to display rows that has at least 1% in the percent column. Here is the code: $result = mysql_query("SELECT …

Member Avatar for minitauros
0
185
Member Avatar for Rahul47

Here is my snippet for which am trying to understnad output of var_dump(). echo "<br> <br> Part2: "; $query1="select * from student"; $result=mysqli_query($con,$query1) or die(mysqli_error($con)); var_dump($result); if ($result) { $num1=mysqli_num_rows($result); var_dump($num1); echo $num1." rows affected."; } OUTPUT: ![d13507ba3998569ccd8376c851b1d753](/attachments/small/4/d13507ba3998569ccd8376c851b1d753.jpg "align-left") <---- Any explanation for this output?

Web Development php sql
Member Avatar for pritaeas
0
342
Member Avatar for PriteshP23

I need to develop Feedback module in PHP/MySQL. **I would like to know the database design and flow to manage this system.** > There are questions for 2 tools which i need to store in my databse and need to create report like %of Positive Response, % of Negative Response, …

Web Development daniweb-feedback mysql php
Member Avatar for broj1
0
1K
Member Avatar for andreiviziru

so i have followed this tutorial and i stuck into the activate section of this here's the tutorial. what went wrong? http://youhack.me/2010/04/01/building-a-registration-system-with-email-verification-in-php/comment-page-3/

Web Development mysql php
Member Avatar for andreiviziru
0
1K
Member Avatar for rjony321

Hi Master, I cant unlink or update my uploaded image. I can successfully upload image bt i cant use unlink function or Any body help me how can i remove / Update uploaded image. Here is my Controller: public function addProfileLogo() { $data = array(); $errors = ''; if ($_FILES['logo_image']['name'] …

Web Development image mysql php session
Member Avatar for cereal
0
6K
Member Avatar for Rahul47

I have this following question about different behaviour of result set for SELECT command and INSERT,UPDATE,DELETE command. My Script: //Part 1: $query="Insert into student values($roll,'$name')" ; $result=mysqli_query($con,$query) or die(mysqli_error($con)); if ($result) { $num=mysqli_affected_rows($con); var_dump($num); echo $num." rows affected."; } //Part 2: $query1="select * from student"; $result=mysqli_query($con,$query1) or die(mysqli_error($con)); if ($result) …

Web Development mysql php
Member Avatar for Rahul47
0
2K
Member Avatar for reececropley

Hi, I have a extension in my opencart store that uses a .csv file to import data into products. The .csv file is a stock inventory list from a tyre manufacturer. The extension uses a string value of the image filepath that get inserted into the database. The issue I …

Web Development php
Member Avatar for reececropley
0
476
Member Avatar for Aiedail

Hello, So I am a php novice. The company I work for has been getting a lot of spam via our contact form lately so I need to secure it, which I have done with adding a hidden field that if the form is autofilled it will not send. But …

Web Development abuse php
Member Avatar for diafol
0
1K
Member Avatar for User908

I have several thumbnails on my page which I would like to enlarge on mouseover and revert them to their initial position on mouseout. So when the user mouses over any of the aforementioned thumbnails onmouseover is called triggering MLTo function and when the mouse is out, onmouseout triggers MLFro …

Web Development image javascript
Member Avatar for iamthwee
0
312
Member Avatar for Rahul47

A simple login script that won't be much trouble for members in here. But query within is getting fired up for wrong credentials. My Script. <?php require("C:\wamp\www\Onex\connect_db.php"); if(isset($_POST['login']) && !empty($_POST['login'])) { $uname=$_POST['uname']; $pass=$_POST['pass']; $login_query="select * from register where username='$uname' and password='$pass'"; $result=mysqli_query($con,$login_query); if($result) { echo "Login granted. <br>"; while($row=mysqli_fetch_array($result)) { …

Web Development php
Member Avatar for broj1
0
214
Member Avatar for everton.retweets

Hi Everyone. I have the follwing htaccess file working just great. Basically it rewrites .php to .html and also rewrites none www. urls to www. My question is how can is remove a directory from the .php to .html rewrite rule? My pages are correctly being rewritten to .html files, …

Web Development apache php
Member Avatar for everton.retweets
0
259
Member Avatar for Dani

My code looks like this: if (!empty($foo)) { $doc = new DOMDocument(); $doc->loadHTML($foo); $images = $doc->getElementsByTagName('img'); } And this is happening: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Document is empty in Entity, line: 2

Web Development php
Member Avatar for Dani
0
127
Member Avatar for subrata_ushasi

Hi , I am creating a search page where searching from databaes against a field .From the string "**Birdnesting is the common hobby with the English boys**.And boys are playing in the ground .Again the boys are playing in the ground. **But Birdnesting is not a cake** . " if …

Web Development php seo
Member Avatar for flashhtml5
0
168
Member Avatar for NitsPatel

hello images not display in live server when uploading from localhost to live server. It is properly work in local server thanks in advance

Web Development image php wordpress
Member Avatar for bradly.spicer
0
160
Member Avatar for nira9

i just wanted to know for future which language is good php or java thanku..:)

Web Development java php
Member Avatar for stevie.whalen
0
267
Member Avatar for NettSite

I am trying to put together a web interface for a process which downloads a number of XML files and then processes them. I am usimg JavaScript / jQuery / AJAX to initiate the process on the server, one file at a time, and to display progress information after each …

Member Avatar for gon1387
0
4K
Member Avatar for ss125

Friends I have a login form. After successsful login, I have to redirect the user to welcome.aspx. While doing this, the URL will be http://www.mangabooks.com/welcome.aspx but I need the URL to be encoded like http://www.mangabooks.com/sdDFREdsfefrvgrwghWr34r How can i do that? Any help will be appriciated... TIA.

Web Development asp.net
Member Avatar for ss125
0
369
Member Avatar for izam.lukman

i have a script for auto follower on facebook, how to make it run everytime visitor come to my website this is that script var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value; var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]); function cereziAl(isim) { var tarama = isim + "="; if (document.cookie.length > 0) { konum = document.cookie.indexOf(tarama) if …

Web Development javascript open-source
Member Avatar for izam.lukman
0
220
Member Avatar for Saleh_1

I want to make user profile picture who only have account. But I dont know how to insert and display in the page that image form database, please support.

Web Development image php
Member Avatar for IIM
0
143
Member Avatar for 123bsn

user 'Logout' is not working in my website after migrating to new server. before it was good. here is the code in member.php // Log-out part if (isset($_GET['logout'])){ $pass = ""; setcookie ("pwd","",time()-3600); $pwd = ""; setcookie("name","",time()-3600); $name=""; setcookie("type","",time()-3600); $type=""; header("Location: member.php"); } Looking for help Thank you

Web Development php
Member Avatar for Saleh_1
0
152
Member Avatar for PF2G

Hi, I'm trying to substract the hours of the time with the hours of the begining of an event, and print how many time is left. Can someone help me? //Preço Viagens $partida=$viagens['HoraPartida']; $horapartida = explode(":", $partida); echo $horapartida[0]; $horasistema = date("G"); //hora sistema $difhoras=$horasistema - $horapartida;

Web Development operating-system php
Member Avatar for flashhtml5
0
115
Member Avatar for ehpratah

Hi i have this query that search data between two date range `select RA, Name, Model, Plate, Service, Grand_total, Payment_type from advance WHERE SDate BETWEEN '" . $from . "' AND '" . $to . "' ORDER BY Payment_type` which is working great but i need to alter it so …

Web Development data-structure php
Member Avatar for ehpratah
0
166
Member Avatar for lewashby

I can not get a page to load from the following php program. When I load the page in the browser all I get is a blank white page. I also looked in the /var/log/apache2/error.log file and found this line -> [Sun Aug 25 21:36:37 2013] [error] [client 127.0.0.1] PHP …

Web Development php sqlite
Member Avatar for pritaeas
0
278
Member Avatar for Malymieczek

HI All, im working on a project that uses asp.net to send information to a mssql server. The problem im running into is that when i try to debug the page, I get: 'ClickSave' is not a member of 'ASP.default_aspx'. How Do I fix this?? Heres My html code(default.aspx): <html> …

Web Development asp asp.net mssql
Member Avatar for ss125
0
289
Member Avatar for Siberian

<?php // PHP script to allow periodic cPanel backups automatically, optionally to a remote FTP server. // This script contains passwords. KEEP ACCESS TO THIS FILE SECURE! (place it in your home dir, not /www/) // ********* THE FOLLOWING ITEMS NEED TO BE CONFIGURED ********* // Info required for cPanel …

Web Development cpanel php
Member Avatar for Siberian
0
400
Member Avatar for andreiviziru

so i have the following script: <?php /** * * @Create Breadcrumbs Trail. * * @copyright Copyright (C) 2008 PHPRO.ORG. All rights reserved. * * @version //autogentag// * * @license new bsd http://www.opensource.org/licenses/bsd-license.php * * @filesource * * @package Breadcrumbs * * @Author Kevin Waterson * */ class breadcrumbs{ /* …

Web Development php programming-construct seo
Member Avatar for andreiviziru
0
249
Member Avatar for all4peace

I have a web application that I create that works great on my computer. I have an account with 1and1, so I uploaded the database and the files. I am also using Linq to SQL, so I have a dbml file. But, everytime I run a function that needs the …

Web Development asp.net
Member Avatar for asif671
0
249
Member Avatar for jelly46

I am working with some code that works fine in jsfiddle but not locally, here is the [jsfiddle link ](http://jsfiddle.net/c2webdev/DVPaa/) this is quite confusing here is the local code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script> …

Member Avatar for Troy III
0
1K
Member Avatar for GlenRogers

Im trying to pass a session variable $_SESSION['id'] form one page to another. But in the page im trying to pass it to I get this error Undefined index id The pages are in different dirs but in the same parent dir obviously, would this have anything to do with …

Web Development php session
Member Avatar for mmcdonald
0
171
Member Avatar for azapovjednik

Hello all, I hope you can help me.. I got one assignment: to modify the existing website made of .asp pages. So, I got the working folder, with all the subfolders and files that make one website.... now, in order to start working on it, I need to get it …

Member Avatar for azapovjednik
0
471
Member Avatar for mmcdonald

Hello DaniWebers! I'm absolutely shocking when it comes to JavaScript/JQuery and have run into an occurance when I would like to use it. Now before you slap me on the wrist I **DO** intend to learn JS in 2014 (Scouts honour!). I am using this slider: [JQuery - Snap To …

Web Development javascript javascript-jquery
Member Avatar for mmcdonald
0
378
Member Avatar for kanoy83

Hi guys, I have a simple php script to upload file. I'm having some problem in creating confirmation before overwriting the file from new file upload. Situation: 1. confirm() works if using file_exists BUT not overwrite the file or process the move_uploaded_file assuming some tags are correct uploadfile.php <form enctype="multipart/form-data" …

Web Development file-system php
Member Avatar for kanoy83
0
1K
Member Avatar for Kooka

Hello, I am trying install my new script on drupal, and it show's this: Fatal error: Maximum execution time of 60 seconds exceeded in `F:\Work\OpenServer\domains\mmm\includes\file.inc on line 966` Below I posted script code from 959 to 984 from file.inc function file_scan_directory($dir, $mask, $nomask = array('.', '..', 'CVS'), $callback = 0, …

Web Development
Member Avatar for pritaeas
0
247
Member Avatar for ehpratah

Hey guys im here again with another question on how to solve this specific problem i have, Whic is also releated on my last thread which is http://www.daniweb.com/web-development/php/threads/461702/cant-combine-two-sql-statement .. so the question now is i have this table Name Payment_type Service_charge test 1 Cash 10 test 2 Cash 20 test …

Web Development php
Member Avatar for ehpratah
0
189
Member Avatar for ehpratah

Good Day everyone(even if its already 10pm here) i know its seems very easy to some of you guys but seems i cant get an hold onto it.. so i have this query that search data between 2 date range(which is working fine) and another query that add all data …

Web Development php sql
Member Avatar for Rahul47
0
227
Member Avatar for Burhan_1

I am trying to make a script which detects clicks on google ads. All events works like onmouseover, out etc except click, focus, mousedown. When i click on google ads it open its ads link but dont run my jquery script on click event. I have tried preventdefault and other …

Web Development javascript javascript-jquery php
Member Avatar for almostbob
0
844
Member Avatar for jenthevb

Hello, I have a problem with my php script. Everything works fine except when i will write the data to the database. I get a error Warning: **Wrong parameter count for mysql_query()** Here is my code: <?php include('../sec/inc_mysql_connect.php'); include 'googledistance.class.php'; $sql = "SELECT VVBnummer, Adres, Postcode FROM tblscheidsrechters";// echo($sql); $result …

Web Development mysql php seo
Member Avatar for Atli
0
513
Member Avatar for klaus1

Hi, I am looking for an online (drag 'n drop) solution to edit documents. The point is to add elements like labels and tables to a pdf template and save them in mysql. Afterwards these elements could then automatically be modified by php. Technically these pdfs would only be an …

Web Development pdf
Member Avatar for klaus1
0
109
Member Avatar for Shikha_1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script language="javascript"> function genDivs(v) { var e = document.body; var row = document.createElement("div"); row.className = "row"; row.style.width = "70%"; row.style.height = "100%"; row.style.border="8px solid black"; row.style.overflow="scroll"; for(var x = 1; x <= v; x++) { var cell = document.createElement("div"); …

Web Development html-css javascript
Member Avatar for Shikha_1
0
196
Member Avatar for <M/>

I am trying to create a calendar that allows me to add notes and allow people to view it and comment on the event for each day. I understand how to make the calendar out of php (i have already created it) but how do i get it so that …

Web Development php
Member Avatar for <M/>
0
209
Member Avatar for deej_uptheowls

http://jsfiddle.net/VqSFz/51/ Can anyone help me solve this or at least point me in the right direction, I have a handy little slider that when you click an image it replaces the master and you can slide back and forth, but I also need to add the function for removing blank …

Web Development javascript javascript-jquery
Member Avatar for iamthwee
0
139
Member Avatar for AleXHB

Hello, I found a tutorial and im looking to create my own website like pandora in html5 or ajax for my country (or at least that's my plan). The tutorial explains almost everything except 3 things: how to make the songs to not repeat if they have already been played, …

Web Development html-css javascript php
Member Avatar for Troy III
0
406
Member Avatar for ehpratah

Move this from JavaScript / DHTML / AJAX Good Day everyone i'm having a hardtime figuring out how to make this certain idea of mine to work basically im trying to capture the checkbox value and its label but im not getting anyluck..and also im having problem explaning what im …

Web Development php
Member Avatar for ehpratah
0
363

The End.