52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kanoy83

I have problem with this drop down menu. This code is part of form.php and is used by 2 pages, 1 page is working fine in which it will not show the "-assigned-", where the other page is showing it. I don't know why they both display differently. assuming library …

Web Development html-css php
Member Avatar for pritaeas
0
338
Member Avatar for davy_yg

Hello, I am using xampp for mysql: When I try to delete a database : "DROP DATABASE" statements are disabled. That statement appears. Why is it? What other alternative I could use? Thanks.

Web Development mysql php
Member Avatar for itpixie
0
234
Member Avatar for dansonyun

This tiny captcha code is kind of weird. Only works in Firefox but not IE (6,8) Hope someone may figure it out what's going on? Or you may download this code from Author. (demo included) [Click Here](http://codefuture.co.uk/projects/captcha/) exmple.php <?php if(isset($_POST['setCaptcha'])){ include_once('./captcha/cf.captcha.php'); if(!check_captcha($_POST['setCaptcha'])){ echo 'CAPTCHA CHECK: <span style="color:red">'.$error_captcha.'</span>'; //exit(); }else{ echo …

Web Development php
Member Avatar for dansonyun
0
221
Member Avatar for goco17

good morning guys, i'm developing a website. whereby have to move through records..next and previous...i did something like this public Product NextProduct(List<Product> products, Product product) { Product nextproduct = (Product)product; for (int i = 0; i < products.Count; i++) { if (Equals(products[i].ProductId, product.ProductId)) { if (products[i + 1].ProductId == null) …

Web Development asp.net
Member Avatar for goco17
0
198
Member Avatar for gsam777

This thread I am starting is a carry over from this thread http://www.daniweb.com/web-development/web-design-html-and-css/threads/205959/getting-ip-address-into-a-contact-form-field **In the thread above BBQKAREN and ALMOSTBOB was able to resolve her issue wich is the same issue I have but I have no way of contacting THEM here.** I have a form field (no PHP) code …

Web Development html-css lan-wan php web-design
Member Avatar for gsam777
0
3K
Member Avatar for lloyd.farrell.7

Hi everyone, I have created a twitter app to auto post to a number of twitter accounts. The auto tweet works great - but for one thing I am stuck on... I am trying to add a hashtag # (&#35;) to the tweet but for some reason I'ts not working. …

Web Development html-css php
Member Avatar for lloyd.farrell.7
0
188
Member Avatar for ScubaSam

Hey people I'm in some dire need of assistance. I am writing this small website which uses a database to store some info. Always when I call up add.php from the html file it shows every thing I've typed in the php file. I know its something small but can't …

Web Development file-system php
Member Avatar for diafol
0
494
Member Avatar for kshitij6857

what is difference b/w web development & web designing.In which we have better scope or income?

Web Development web-design
Member Avatar for Bob Hensley
0
292
Member Avatar for apnavarun

Hello everyone, I am trying to find out how facebook extract information like image, title and description of a webpage using open graph tags. Please share you knowledge or any working scripts, tutorial. Thanks

Web Development php
Member Avatar for veedeoo
0
345
Member Avatar for Webville312

Hullo, I am working with a datepicker that allows users to enter a date schedule for given tasks. However, I want the dates that have passed to be disabled from the datepicker, so that the user only selects a future date. Here is what I am using currently; <script type="text/javascript"> …

Web Development php
Member Avatar for Webville312
0
6K
Member Avatar for klemme

Hi all, I am looking into PDO, as I want to learn how to use it for future projects. I am fairly new to OOP, but got the basics by now.. All though I cant get this database class to work : class Database { private $host = 'localhost'; private …

Web Development cms oop php
Member Avatar for jkon
0
201
Member Avatar for edwin.thomson1

I want to add a feature in which my website can translate from English to Hindi.. How it can done and there is any free script ?

Web Development php
Member Avatar for Szabi Zsoldos
0
2K
Member Avatar for sumangala

Hi all, bellow i m writing the code snippet which gives the error as Microsoft JScript runtime error: Object doesn't support this property or method, what to do.I m trying for jqgrid in asp.net with MVC without creating Helper. [CODE]<script type="text/javascript"> jQuery(document).ready(function() { jQuery("#list").jqGrid({ url:'/jqGrid/GridData/', datatype: 'json', mtype: 'GET', colNames: …

Member Avatar for atulsavaliya
0
254
Member Avatar for Hazuan Nazri

Hello Friends, lately I have found a few websites that use very beautiful background and its look like 3D, i see the background Like using 2 layers background, i just want too know the name of this type background and how can i make it, example java or flash. ONE …

Web Development html-css image php
Member Avatar for F-3000
0
306
Member Avatar for Junior Coder

Hello, I am trying to have a calendar in my site which should have below functionality: 1. Select a year from 2013 to 2023 from a given calendar. 2. Once a year is selected (ex-2013), 12 links displayed as Jan, Feb, Mar, Apr.... Dec. 3. Once a month is clicked …

Web Development javascript
Member Avatar for radhakrishna.p
0
165
Member Avatar for davidjennings

Hi all I am experiencing the following error. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean givenit refers to line 94 which is the while loop start point. Thanks in advance D <?php $x=0; $remainder=0; $image_value = array(); $partners_id = array(); $description_value = array(); $url_value= array(); $image_filename_value = array(); …

Web Development mysql php sql
Member Avatar for davidjennings
0
383
Member Avatar for Webville312

Hullo, I am working on a php application that is meant to respond to user requests to create accounts. For instance; whoever wants to create an account has to send a text with "Login" as the message content. Only problem is that the mysql queries are not being executed. Can …

Web Development mysql php
Member Avatar for Webville312
0
174
Member Avatar for cussel

> hey guys, how to get min value in array 2D except value zero '0'and also key ? > i've try use min and array_filter function to solve it > can you help me?please Array ( [0] => Array ( [0] => 0 [1] => 6 [2] => 4 ) …

Web Development php
Member Avatar for iamthwee
0
312
Member Avatar for mitesh.24jain

I am using a script on a page due to which the style of dropdown , checkbox and textbox is applied on them, but if i put dropdown or any other tool inside the updatepanel than only when the page gets load script is shown to that tool but whenever …

Member Avatar for mitesh.24jain
0
1K
Member Avatar for seju

hello.. i have to need report...and i have to need dynamic select query from differnt table in php... and i have no idea about this..using if condition..but problem is that at time only fire one query... i have totally more that 5 select query how can i do it..? help …

Web Development display php
Member Avatar for seju
0
256
Member Avatar for shruti garg

how we can match the ans with database ans in online test and score wil be increment if the ans is correct

Web Development php
Member Avatar for krishnadaspc
0
135
Member Avatar for xxmp

Hello I want to sent mail and i am using this code public boolean sendEmail(String from, String to, String subject, String themessage){ boolean success=false; // Assuming you are sending email from localhost String host = "localhost"; // Get system properties object Properties properties = System.getProperties(); // Setup mail server properties.setProperty("mail.smtp.host", …

Web Development java-jsp session
Member Avatar for jalpesh_007
0
160
Member Avatar for sherif.sobhy.37

$name = $_POST['name']; $image = $_FILES['image']; $location = $_POST['location']; $category = $_POST['category']; $username = $_POST['username']; //$imageData =addslashes (file_get_contents($_FILES['image']['tmp_name'])); $imageData =addslashes (file_get_contents("http://zbatny.info/HOOT/amsek/prob/5.jpg")); $image =$_FILES['image']['name']; $type=$_FILES['image']['type']; $file_tmp=$_FILES['image']['tmp_name']; if(!is_writable("../../images/")) echo('You cannot upload to the specified directory, please CHMOD it to 777.'); if(move_uploaded_file($imageData,"../../images/".$image)) { //Tells you if its all ok echo "The file ". …

Web Development image javascript php
Member Avatar for Meir David
0
352
Member Avatar for zerey02

.guys i'm starting a new project. an online examination using PHP and an online database phpMyAdmin. .the exam is consisted of questions which can be answered by choosing one of the four answers. what i want to do is either use dropdown menu or multiple radioboxes when picking answers. of …

Web Development php
Member Avatar for krishnadaspc
0
180
Member Avatar for Maideen

hi. i have a problem in printing the report to printer. Now i can print the php reports, but it will open both printer dialog and page together. But I need only one to printer dialog box. Pls help me Below my code Connection database ` <?php try { $hostname …

Web Development html-css mssql php printer
Member Avatar for LastMitch
0
317
Member Avatar for anisha.silva

Hi I create a application in netbeans, and in one web service method it return a List. @WebMethod public List searchByAuthor(String author) { return bookBean.listByAuthor(author); } above is the code. When i right click the web service and click 'Test Web Service' and test the ListByAuthor it gives me an …

Web Development java java-netbeans xml
Member Avatar for LastMitch
0
218
Member Avatar for while(!success)

Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I …

Web Development javascript javascript-jquery
Member Avatar for while(!success)
0
371
Member Avatar for logicaweb

Hello, I need advice about making a PHP form and MYSQL base. First, I'll give an example of what I trying to make: I'm trying to make a MYSQL base of products, then to make new base of ingredients and then to make php form for Add new products and …

Web Development cms mysql php
Member Avatar for diafol
0
340
Member Avatar for nats01282

I have a online photo gallery and when you hover over a image an edit button appears that opens up a jquery prompt box in which you enter the caption after this has been entered i have the following code var caption=prompt("Please enter new caption"," "); if (caption!=null) { var …

Web Development html-css javascript-jquery php
Member Avatar for nats01282
0
238
Member Avatar for eburlea

Hi, all. I have a login form with a checkbox that needs to create cookies if checked. How is it possible to check after the form has been submitted if the checkbox has been checked? I have the following code in 'application/forms/Login.php': $remember = new Zend_Form_Element_Checkbox("remember", array('disableLoadDefaultDecorators' => true, 'required' …

Web Development php
Member Avatar for eburlea
0
211
Member Avatar for legendaddybok

<%@ page import = "java.util.*"%> <%@ page import = "java.lang.*"%> <%@ page import="java.sql.*" %> <%@ page language="java" import="java.sql.*" errorPage="" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <% String ans=" "; if(request.getParameter("correctAns")!=null) { ans=request.getParameter("correctAns").toString(); } Connection conn = null; …

Web Development java-jsp
Member Avatar for legendaddybok
0
200
Member Avatar for jeffadrian

I am using phpmyadmin on my computer and while I tried to update my data, the following happens " Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 ". I tried to search " php.ini " on my computer, but I can't …

Web Development php
Member Avatar for jeffadrian
0
11K
Member Avatar for showman13

I have a strange occurence in a display and I'm wondering if it could have something to do with the formation of the query I have a table that contains shopping cart line items (called dealer_item), stored as the dealer adds them to the cart. This table currently holds 2 …

Web Development display php
Member Avatar for iamthwee
0
131
Member Avatar for Dani

CodeIgniter error logging set to 1: /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | | If you have enabled error logging, you can set an error threshold to | determine what gets logged. Threshold options are: | You can enable error logging by setting a threshold over zero. The | …

Web Development php
Member Avatar for veedeoo
0
507
Member Avatar for squeak24

Hey, I hope all is good in your World, and thank you for reading this. I am having a couple of issues with a bit of script, I struggling to see what is wrong. The script in question is: function date_diff($str_start, $str_end) { $defdate = $str_start ; $str_start = strtotime($str_start) …

Web Development php
Member Avatar for squeak24
0
606
Member Avatar for code_rum

Hi, I have imported a csv file but for some reason in some values the data after . is missing for e.g. If my value in csv is 0.5 it displays 0. and 5 went missing but in my csv file i have value as 0.5 I don't what step …

Web Development mysql php
Member Avatar for code_rum
0
312
Member Avatar for Aadhya169

Hello Friends... How are you all ??? I need your help... I want to learn PHP so will you please tell me the best book to learn PHP from the beginning... Thank you in advance.. :)

Web Development php
Member Avatar for diafol
0
223
Member Avatar for rook0316

I have tried many different scripts I have found but cannot find one that does exactly what I am looking for. I have a table that has parts with multiple characteristics. Part Number, Height, Width, Capacity, Price, Etc. I would like to have a drop downs for all of these …

Web Development html-css javascript mysql php
Member Avatar for pankaj12290
0
8K
Member Avatar for vishal.du123

<html> <head> <script type="text/javascript" src="js/jquery-1.4.3.min.js"></script> <script>$('.countryclassinfolink').click(function(event) { event.preventDefault(); var detailinfo = $(this).parent().next().html(); $('#country_details').html(detailinfo); $('.countryclassinfolink2').click(function(event) { event.preventDefault(); $('#country_details').html(''); $('#country_details').hide(); $('#country_seminars').fadeIn(); }); $('#country_seminars').hide(); $('#country_details').fadeIn(); }); </script> </head><body> <div class="section seminars"> <h2><span>USA Seminars</span></h2> <div id="country_seminars" class="body"> <table> <tbody> <tr> <td class="practioners"><p> <span class="date">06/10/2013</span> Niskayuna, NY<br> <a class="countryclassinfolink" href="#">Advanced DNA</a> </p> <div style="display:none;" id="classdetails26436"> …

Web Development javascript javascript-jquery
Member Avatar for radhakrishna.p
0
173
Member Avatar for shweta.trivedi

How can i use voice inputing in php or HTML for all browser? i have used HTML 5 Speech Input,but it only supports Google Chrome browser.i want this functinality for all browse.is any one have solution for this?

Web Development php
Member Avatar for shweta.trivedi
0
162
Member Avatar for knutsford-soft

$header = "From: $From_Email\n"; $header .= "MIME-Version: 1.0\n"; $header .= "Content-Type: multipart/mixed; "; $header .= "boundary=$num\n"; $header .= "--$num\n"; # Define the message section $header .= "Content-Type: text/html\n"; $header .= "Content-Transfer-Encoding:8bit\n\n"; $header .= "$strMail\n"; $header .= "--$num\n"; # Define the attachment section $header .= "Content-Type: image/jpg; "; $header .= "name=\"Photo.jpg\"\n"; …

Web Development image php
Member Avatar for knutsford-soft
0
173
Member Avatar for jellybeannn

Can someone please help me with why this button is not working, I've tried putting it in <for id="" runat="server">, but then I get the error: A page can have only one server-side Form tag. When the button is clicked nothing happens. [code] <%@ Page Language="C#" MasterPageFile="~/train.master" AutoEventWireup="true" validateRequest="false" CodeFile="TrainStationTutorial.aspx.cs" …

Web Development asp.net
Member Avatar for Hamza Bukhari
0
2K
Member Avatar for winbala5

Hi all, I want to share one link to tumblr and also i want to calculte the number of views, likes, posts, shares, followers. How i need to get this all give me any reference or possible ways tel to me.

Web Development javascript php
Member Avatar for winbala5
0
228
Member Avatar for Dani

When testing a CAPTCHA, is it recommended to test that the IP address used to request the CAPTCHA is the same as that used to answer the CAPTCHA?? Is it a concern for people that have dynamic IP addresses that potentially could change pageview-to-pageview?

Web Development php
Member Avatar for LastMitch
0
105
Member Avatar for Nathyjoy

i need free online training on php, or any available book that can help anybody can help

Web Development php
Member Avatar for jalpesh_007
0
293
Member Avatar for RT00220489

Hi, I have a dropdownlist named MyDropDown. I have declared an arraylist and I collect required names of collection in the list. In parallel, I would like to keep appending the names obtained in dropdownlist. I have an If condition, checking for proper valid names. Those names I wish to …

Web Development asp.net
Member Avatar for BMXDad
0
172
Member Avatar for sonicx2218

Had a question before that was partially solved. I'm having trouble getting just one part of it to work. preload = new Element('iframe', { 'src': URL, 'id': mediaId, width: mediaWidth, height: mediaHeight, scrolling : 'no', 'frameborder': 0 }); preload.style.visibility = 'hidden'; startEffect(); } So my issue is the preload.style.visibility = …

Web Development html-css javascript
Member Avatar for Troy III
0
222
Member Avatar for chriswelborn

I'm not much of a javascript developer right now, as I just recently found the need to learn it. I'm using jQuery, and Javascript (sometimes stupidly, like when I find out jQuery already "abstracted out" something I wrote a 20 line function for). My question is about style though, with …

Member Avatar for Troy III
0
240
Member Avatar for pravaut

hi first time posting here but have learned a lot from this site my problem is my script display html tags here is what dispalys when i run my script ![431832741e23dc48f183316772bc6daf](/attachments/large/4/431832741e23dc48f183316772bc6daf.PNG "431832741e23dc48f183316772bc6daf") and my code as follows </div> <div> <button type="button" name="getdata" id="getdata">Get Data</button> </div> <div id="result_table"></div> <script type="text/javascript" language="javascript" …

Web Development javascript-jquery php
Member Avatar for pravaut
0
608
Member Avatar for GlenRogers

Hi I take data from a html form to inseert to mysql, sometimes that data has single and double quotes in it. How do you get the quotes to be part of the string so i can add to mysql. Hers what I have, but this still gives me a …

Web Development mysql php
Member Avatar for diafol
0
406

The End.