52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vaibhav1983

Hi All, I want to integrate a What you see is what you get editor for my website. I understand that the editor can be the one as I can see I am typing in. How do I store data in database so that when I retreive the data from …

Web Development php
Member Avatar for quasipickle
0
165
Member Avatar for gillivt

I have a form (testform.html)as follows: [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> <title>test</title> </head> <body> <form id="form1" method="post" action="datareturn.aspx" > <input type="text" id="FoxyData" name="FoxyData" /> <input id="Submit" type="submit" value="submit" name="submit" /> </form> </body> </html> [/CODE] When I enter data into the form field and …

Web Development asp asp.net first-post vb.net
Member Avatar for gillivt
0
265
Member Avatar for ujjval dave

hi guys, i have confusion about comparing dates in php. i want to compare birth date with current date. here is my code. i hope u will me to solved out this problem. thanks [CODE] <?php //code for get values from session session_start(); if(isset($_SESSION['I'])){ //this code will get email id …

Web Development php session
Member Avatar for ujjval dave
0
9K
Member Avatar for mbarandao

I'm wondering if it is possible to skip certain fields in the mysql table in a sql statement. Here is what I mean: I have a table that has the following columns: firstname lastname phone dob Suppose I write the following statement: $[CODE]mysql_query=("insert db_table (firstname, lastname, phone) VALUES ('$firstname' ,'$lastname', …

Web Development mysql php
Member Avatar for mbarandao
0
190
Member Avatar for SurveyTool

I'm making a survey tool. Each respondent will be asked to answer questions on (for example) cakes. The number and types of cake will be different for each respondent. The format of the survey will be saved in a file called [I]survey.xml[/I]. So the survey may be like the following: …

Web Development asp.net xml
Member Avatar for SurveyTool
0
153
Member Avatar for sanchow

Hi, I am trying to use AJAX to do a simple thing of displaying the results in the same page. Clicking on the <a href tag should display the results in the same page. This is working correctly in IE but the onclick() function is not working in firefox and …

Web Development javascript mysql php
Member Avatar for Airshow
0
1K
Member Avatar for CroCrew

Hello all, Thanks for looking at my post and thank to anyone that provides me with the help I am looking for. This is what I am trying to do. From the parent page have a few links that would do a postback and based on the link chosen a …

Web Development asp.net
Member Avatar for shine_jose
0
126
Member Avatar for Meriam

[CODE]<HTML> <HEAD> <TITLE>TMA 02 Q4(ii)</TITLE> <SCRIPT LANGUAGE = "JAVASCRIPT"> var loc; var weather; var name; loc = window.prompt('Please enter your location',''); weather = window.prompt(`Please enter the weather`,``); name = window.prompt(`Please enter your name`,``); document.write(`London`;` Snowing`;` Meriam`); document.write(`<BR>` + `See you soon`) </SCRIPT> </HEAD> <BODY> </BODY> </HTML>[/CODE]

Web Development javascript
Member Avatar for benqus
0
92
Member Avatar for ikari

I've been having problems with web browsing that I think may be related to Javascript. I use forum sites like [url]www.ernya.com[/url] and there I get logged out every few minutes/seconds. I've found that clearing my cache regularly seems to help a little, but it doesn't fix the problem. Other forum/avatar …

Member Avatar for benqus
0
189
Member Avatar for xuexue

hello guys, i had a problem with the automatic email sending using php.. the error states: [CODE] Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\edith\email\index.php on line 36 [/CODE] *******index.php *******this is my code [CODE] $to = "juan@yahoo.com"; $subject = "Email testing"; $message …

Web Development php
0
89
Member Avatar for nickles

Hi, I'm getting the error Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\******\include\Database.php on line 294 when I try to run this [CODE]function calcNumActiveUsers() { $query = "SELECT * FROM ".TBL_ACTIVE_USERS; $result = $this->query($query); //just uses mysql_query var_dump($result); $this->num_active_users = mysql_numrows($result); }[/CODE] As far as I …

Web Development mysql php
Member Avatar for nickles
0
107
Member Avatar for xuexue

could you give me a very simple example of autocomplete in php? this should have a connection to the database.. having the keydown() function and highlights the letters which are similar to the one being typed. best regards and thanks in advance..^^

Web Development php
Member Avatar for xuexue
0
143
Member Avatar for pgmarco

My JavaScript code works in all browsers except ie, I am not sure why. Any help is appreciated, Thank you. Website is [URL="http://illcomputers.comyr.com/custom.php"]http://illcomputers.comyr.com/custom.php[/URL] Javascript File[URL="http://illcomputers.comyr.com/scripts/lowendcost.js"]http://illcomputers.comyr.com/scripts/lowendcost.js[/URL] JavaScript Code [CODE] function updatecost1() { const keymouse = 40; const Case = 55; var data = document.getElementById("data"); var seldata = data.selectedIndex; var cpu = …

Web Development javascript
Member Avatar for Airshow
0
1K
Member Avatar for FreddieBambino

Hi. I was wondering, is there any way for php to automatically check if links are valid. For example, lets say I have 10 links and I want a cronjob to check if they are valid or not, and if they are invalid I would throw a query statement to …

Web Development php
Member Avatar for FreddieBambino
0
155
Member Avatar for pjh1985

Hi, i found this image uploader in another post but i'm having a few problems with errors or upload confirmation not displaying at all and was wondering if someone could take a look. [URL="http://www.daniweb.com/forums/thread144647.html"]original thread,[/URL]the file is a zip near the bottom of the page It seems the database code …

Web Development file-system image php
Member Avatar for cossay
0
73
Member Avatar for sajohnson05

Below is my file read. I am trying to output it in a table form and also i am trying to read any length of tilde document. [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> </head> <?php $namefile = 'pilots.txt'; …

Web Development file-system php
Member Avatar for sajohnson05
0
153
Member Avatar for Tcll

here's a little test I want to do: in the main html I simply want a text input, and a submit button... when I type something in the input and click 'submit', it calls a function that generates an html with: [CODE] <html> <head><title>JS Generated HTML</title></head> <body> //(text in input) …

Web Development html-css javascript
Member Avatar for Tcll
0
148
Member Avatar for Mi-Dia

I am in the hard task of rewriting a template system, specificly to support repeating content of a forum script. I am currently tyring this with a dummy file at the moment and I am stuck on one part. What is basically does, is load the following html which has …

Web Development php
Member Avatar for Mi-Dia
0
127
Member Avatar for eltonpiko

hi does anybody know a good script that i can use to make client on different level like an mlm script but not to sell anything but to manage those people .example if you are a client you can log on to the site and see how many people you …

Web Development php
Member Avatar for eltonpiko
0
93
Member Avatar for sajohnson05

I have a code that needs to read in a file and has a parameter file. I need to know how to put in <=,<,=,>=,> operators that will be in my parameter file. I beleive that it needs to go in this line: $search=explode(':',strtoupper($params[0])); but not sure if it will …

Web Development file-system php
Member Avatar for sajohnson05
0
99
Member Avatar for lf.gene

Hi. I have question regarding jquery. I would like to know is it possible to put two href into one therefore i can use two different css for one jquery? [CODE] <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.6.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script> <link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery-1.4.4.min.js'></script> …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
108
Member Avatar for divyakrishnan

Hi... Is it possible to search a string on a PDF file? I want to search and highlight a string on a PDF file . If any idea please help me..... Thanks for advance

Web Development pdf php
Member Avatar for cereal
0
907
Member Avatar for maged4e

hi i have small problem would u mind to help me? i want get full path of file in my hard? but the wamp server give me results as fallow : c:\\fake path\..... pr gives me only the file name only for example if i want to get file in …

Web Development php
Member Avatar for Stefano Mtangoo
0
88
Member Avatar for Arsench

Hello world, I have a problem with sending email in PHP. I was sending many times with the same code, but now it doesn’t work and don’t know why. I’ve contacted with domain helpdesk, but they said that there are all OK and PHP server works properly. Please someone could …

Web Development email php
Member Avatar for Randy Orton
0
105
Member Avatar for eltonpiko

hi can anyone tell me how i can achive this. i have a product to sell online and will use alertpay but i have some additional information i want the user to fill in before they press the buy button to take the to the payment area.user must give the …

Web Development php
Member Avatar for Dragonbaki
0
149
Member Avatar for EZ Fanpage

Hai Fellow Developers, I have one problem and appreciate if any of you could guide me on this. I created a custom Paypal button with some Javascript and AJAX. Why with AJAX? Because the script have a coupon acceptance code where i need some validation using AJAX. The problem is …

Web Development html-css iphone javascript xml
0
109
Member Avatar for mbarandao

If the following function performs calculation [CODE] <script type="text/javascript"> function updatesum() { document.PaymentForm.newbalance.value = (document.PaymentForm.balance.value -0) - (document.PaymentForm.paymentamount.value -0); } </script> [/CODE] How do I incorporate above function and the one below into one to thus do the calculation and round the number? [CODE] <script type = "text/javascript"> function roundNumber(num, …

Web Development javascript
Member Avatar for mbarandao
0
94
Member Avatar for mbarandao

Hello: Here is an interesting question. I have a client payment recording form which retrieves data from a table that has clients balances and other. My task with this form is to take payments (which can be payments in full or partial payments). I need to be able to update …

Web Development mysql php
Member Avatar for mbarandao
0
91
Member Avatar for Sorcher

Hello people! I would like to know how to remove white space and replace them with a "_" on the file uploaded by this script. [CODE]<?php // Check if a file has been uploaded if(isset($_FILES['uploaded_file'])) { // Make sure the file was sent without errors if($_FILES['uploaded_file']['error'] == 0) { // …

Web Development php session
Member Avatar for diafol
0
195
Member Avatar for JoeyWong

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to …

Web Development php session
Member Avatar for JoeyWong
0
85
Member Avatar for youlichika

I want to post value from index.php, then get the value by self without refresh the page. one botton with two values, I want explode them and finally get $namea and $nameb. then use them in other php part. but when I use echo $name, in the source code, I …

Web Development first-post open-source php xml
Member Avatar for saiprem
0
175
Member Avatar for anithajerome

Hi i am a java learner.Can anybody pls guide me abt struts in eclipse

Web Development java-jsp
Member Avatar for anithajerome
0
66
Member Avatar for luke noob

this is my code... [code=javascript] $(function() { $(".Like").livequery("click", function(e) { var ldl_session_id = $("#session_id").val(); var name = $("#commentName").val(); var ldl_id = $(this).attr("id").replace("post_id",""); var parent = $("#display_like_names-"+ldl_id); // var parent = $(this); $(this).fadeOut(200); $.ajax({ type: "POST", url: "ajax_like_names.php", data: "ldl_post_session_id="+ldl_session_id+"&ldl_post_id="+ldl_id, cache: true, success: function(html) { parent.html(html); parent.fadeIn(200); } }); return false; …

Web Development javascript javascript-jquery
Member Avatar for luke noob
0
788
Member Avatar for ujsiriwardana

I want to undestand how session arrays working. can u explain below code please. $_SESSION['ddc']['price'] I want to undestand what is doing in ['ddc']['price'] . Are they separate arrays or 2-D arrays.

Web Development php session
Member Avatar for P0lT10n
0
99
Member Avatar for suvra123

Hi, How can I store youtube latest vedio in my mySql database dynamically. I want all the latest data will store dynamically at a perticular time. Suppose, if I click the video and copy and past the link from youtube in my site, it will display that link, but I …

Web Development php video
Member Avatar for P0lT10n
0
95
Member Avatar for haye321

I am trying to create a PHP bot for a project for my cs classs that will automatically log me in to a site and perform certain tasks once that is complete. I have been doing some research and I believe the best way to acomplish this would be wish …

Web Development php
Member Avatar for haye321
0
468
Member Avatar for cableguy31

I have a webpage with a form that collects an ID number. Within the page I have validation with PHP to make sure the number entered is in the right format. What I need to do is, if validation is successful, pass that id number to a new php page …

Web Development first-post php
Member Avatar for cableguy31
0
247
Member Avatar for Helpjava11

Please Help I am trying to make a counter that when i click a button it adds .01 to a running total. Below is the code I have created but when i click on the button it adds one and deletes the bid button [CODE]<html> <form> <input name = "count2" …

Web Development javascript
Member Avatar for Airshow
0
145
Member Avatar for dschuett

Hey everyone, This is my first attempt at pagination. I seem to have everything working pretty well except for one slight problem. Example: If I search for a PO Number containing the number 10. My query returns all the correct information along with the correct pagination links, however, Let's say …

Web Development html-css php ui-ux xml
Member Avatar for dschuett
0
681
Member Avatar for careless_monkey

I'll try my best to explain what it is. I have two tables 'regularplanets' and 'moons'. Idea is, regularplanets can have many moons and moons can have 1 planet. I have included the required variables 'hasMany' and 'belongsTo' in regularplanets and moons model. What I want to do is this …

Web Development php
Member Avatar for careless_monkey
0
103
Member Avatar for erum

i have textbox in repeater and i want to validate it to accept numbers only i have code like this [CODE]<asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr> <th>id</th> <th align=left>Room Categories</th> <th>single</th> <th>Double</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td width="5%"> <asp:Label ID="Label3" runat="server" Text= '<%# Container.DataItem("packageid")%>' /></td> <td> <asp:CheckBox ID="chk_packages" …

Web Development asp.net
Member Avatar for croker10
0
180
Member Avatar for puvi

Hi, i have a registration form, where the user enters username, email, designation and organisation. on clicking register button, the data in this form should get saved into database. The code is as follows, when i executed it for the 1st time, data was saved properly, but when executed next …

Web Development php
Member Avatar for puvi
0
137
Member Avatar for mbarandao

Good day to all: Typically, when one pass variables via url, they are received and displayed in a input text box. I'm interested in passing two variables (firstname and lastname) via url; except, I want to be able to get them on another page [key point ], in a select …

Web Development php
Member Avatar for mbarandao
0
210
Member Avatar for kanuri1

hi frnds,,,, here i want to access the data base and showing in the grid view without help of datasourse it will shows the error, the error is "The IListSource does not contain any data sources"" here my coding is as follows..... Protected Sub Page_Load(ByVal sender As Object, ByVal e …

Web Development asp.net dataset vb.net
Member Avatar for jbisono
0
88
Member Avatar for divyakrishnan

Hi... I have an issue on project.I want to open a particular pdf page by specifying its page no using PHP script.Is it possible?please help me

Web Development pdf php
Member Avatar for Borzoi
0
124
Member Avatar for Brosa

I am making the products page for one of my sites, and firefox keeps giving me the error it can't find the ID I am requesting. Every other browser works fine except for firefox. [CODE] <form mehtod="post"> <input type="text" onclick="SelectAll(this.id)' onkeypress="return isNumber(event)" maxlength=2 style="width:3em; text-align:center;" id="quantity_ <?php echo $fetch['id']; ?>" …

Web Development javascript
Member Avatar for @developer
0
94
Member Avatar for Ajuddy

[CODE]/***save the user information to file***/ $first_name=$_POST['first_name']; $last_name=$_POST['last_name']; $mobile_number=$_POST['mobile_number']; $office_number=$_POST['office_number']; $addres=$_POST['address']; $post_code=$_POST['post_code']; $city=$_POST['city']; $file=$_POST['file']; /**data to file**/ $data='$first_name | $last_name | $mobile_number |$office_number |$addres | $post_code |city |$file\n';[/CODE]

Web Development php
Member Avatar for Dragonbaki
0
154
Member Avatar for xuexue

how could i add the onkeydown() function in jquery.. this is for the autocomplete.. regards, ^^

Web Development javascript-jquery php
Member Avatar for Stefano Mtangoo
0
157
Member Avatar for kiranbvsn

hi all, i've one problem with the jquery i am hiding a <div> using style=display:none; and when i clicked a button whose id is lnkbtnUnitAdd, i want to show the above div but i've written some code on OnClick event of the button, since the below function is returning false, …

Web Development javascript javascript-jquery
Member Avatar for kiranbvsn
0
321
Member Avatar for rajshree13

I want source code for searching the data in our intranet website.. Please give me solution for search the data in JSP Language. Thanks

Web Development java-jsp
Member Avatar for peter_budo
0
198

The End.