52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for betatype

I know this is a somewhat strange request and is probably not feasable, but I thought I would ask anyway :) I have a form, and on the final page of the form it displays all of the results of the user's entries. The problem is some of these results …

Web Development html-css php
Member Avatar for cwarn23
0
129
Member Avatar for valonesal

What I am trying to achieve is to have a line text change when a page is refreshed or at a set interval like every 15 seconds. I know this is easy with javascript but I really don't want to use javascript. I wrote a simple snippet that does this …

Web Development php
Member Avatar for cwarn23
0
112
Member Avatar for sarithak

Hi frnds.. I have to do Forum 4 my website.... It looks like [CODE]forums.digitalpoint.com www.nagfans.com [/CODE] By using which forums???

Web Development php
Member Avatar for cwarn23
0
2K
Member Avatar for Zack_G

Hi, I am trying to find the sum of product's weight and can't seam to find anything that can help. I have included my code snippet below. $totalweight = 0; foreach($_SESSION['ddc']['productsincart'] as $key => $value) { $sql = "SELECT * FROM ddcart_products WHERE id = '".$key."'"; $result = mysql_query($sql); $data …

Web Development php
Member Avatar for digital-ether
0
112
Member Avatar for Aamit

Hi, I want to find random string between main string. Suppose [COLOR="Green"]$string="Sign up for Facebook to connect with Jean Profession";[/COLOR] I want do that .. [COLOR="Red"] random word who having length greater than 4 and word not equal to Facebook.[/COLOR] How to do this??

Web Development php
Member Avatar for cwarn23
0
132
Member Avatar for hooray

I have been trying to use the function is_null to see if a database value is NULL. When I run this I am looking at the database and the value is definitely NULL, but it is not re-directing to the error.php page. What have I done wrong?? Thanks Guys :-) …

Web Development php
Member Avatar for somedude3488
0
140
Member Avatar for SID.SIL

Hello again friends Now I would like to know how to validate a DropDownList to know if an item was selected or not Thanks

Web Development asp.net
Member Avatar for IdanS
0
65
Member Avatar for Chad Gary

I have the following PHP code, which uses server-side validation, which works fine. It the user leaves the text field empty it stores an error in a session array which is outputted on the page where the $_GET['id'] variable came from. I also implemented a snippet of javascript code that …

Web Development client-server javascript session
Member Avatar for ShawnCplus
0
134
Member Avatar for Antun

Hi all, i need some help. I am creating mysql php game. How can make game to know which user is logged . I am not absolute noob. I already created register, login and main page, and its all linked with database. Problem is when user need to use his …

Web Development php
Member Avatar for Antun
0
100
Member Avatar for SQL_n00b

What is the best way to update a record when 2 users of my site happen to edit it simultaneously? For example, assume the following scenario: Let's say users John Doe and Jane Doe log into my site and happen to view the below record simultaneously. --------------------------------------------------------------------------------- Bruce Wayne | …

Web Development coldfusion
Member Avatar for buddylee17
0
145
Member Avatar for Altairzq

Hello I'm using this code I got from an example: [ICODE] <head> <TITLE>Creating a link</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function createLink() { var szURL = prompt("Enter a URL:", "http://"); if ((szURL != null) && (szURL != "")) { document.execCommand("CreateLink",false,szURL); } } // --> </SCRIPT> </HEAD> <BODY> <H1>Creating a link</H1> Here's some …

Web Development javascript
Member Avatar for Troy III
0
2K
Member Avatar for jay_412

hey guys,, im newbie to stored procedure,,im using the localhost server now,I would like to ask if where to put the stored procedure in my phpmyadmin?Is it from information schema?or in the tables?

Web Development php
Member Avatar for darkagn
0
205
Member Avatar for raafi007

Hey I need a regex that would allow following input matches: 0.1,1.1, 0.001, 1.4, in short number should be less than 2.00. Thanks for help.

Web Development asp.net regex
Member Avatar for raafi007
0
63
Member Avatar for akraus

I have included the code. My problem is that I am always getting the error exception thrown and not caught despite adding cftry/cfcatch blocks. If I don't set selectmode="edit" and include OnChange my grid displays except I get the word false displayed instead of a checkbox. [code] <cfgrid format="html" name="grid_Tables" …

Web Development coldfusion
0
107
Member Avatar for Mongz

Im passing a query string from 1 page to many pages, the second page accepts the query string and pass it to the next page and so on. On the second page i accept the query string and it appear's on the url bar, that shows that the second page …

Web Development asp.net c#
Member Avatar for sknake
0
189
Member Avatar for francis123

Hi everyone, I am having 2 php file to run with cron job, the first to run every hour and the second to run every 12pm midnight. I am using cPanel and this is the cron job. i put this in the command to run tex field of the advance …

Web Development cpanel file-stream php
Member Avatar for francis123
0
96
Member Avatar for engg_mahesh_knl

hii All, I wants to Create XML File DYnamically Using ASP.Net C# which retrieves data from sql server database. Also I wants that To delete / Create Xml files on server Just By Clicking a button... Thankyou....

Web Development asp.net c# xml
Member Avatar for IdanS
0
818
Member Avatar for davidjennings

Hi all, I am new to PHP Do I need to sanitize hidden data values in a form before carrying out the query on MySQL db. If so can someone assist me in the correct format The category_id is an INT and the make is a String. $category_id=$_POST['category_id']; $make=$_POST['make']; Also …

Web Development php
Member Avatar for davidjennings
0
152
Member Avatar for sudharani

Hi, I want to pass cid genarated in selling.aspx to orderform.aspx . How to retrieve the query string in orderform.aspx I gave the code below in selling.aspx [code]SqlConnection con; SqlDataReader dr; con = new SqlConnection("Persist Security Info=False;Uid=sa;Password=q1w2e3/;Initial Catalog=YOGADATA;Data Source=PC-1"); con.Open(); t=0; SqlCommand com = new SqlCommand("select * from Custlogin", con); …

Web Development asp.net open-source
Member Avatar for IdanS
0
144
Member Avatar for millsy007

Hi I am using the css image gallery I got from: [url]http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/[/url] I want to change the behaviour, currently an image is enlarged when a user hovers over the link/thumbail. I would like to change it so that the main image is instead shown onclick of the thumbnail, and remains …

Web Development image javascript
Member Avatar for millsy007
0
93
Member Avatar for bshyama24@gmail

Hi All,I want to add ICICI payment gateway in my web application.How to do it?

Web Development asp.net
Member Avatar for engg_mahesh_knl
0
84
Member Avatar for coolmind259

Hi There, I am using a Freelance script namely Kubelance. In this script I want to use an Paypal API which enables a user to transfer the fund without leaving a site. Can anyone guide me how to do it? Your help in this matter will be highly appreciated. Take …

Web Development api php
Member Avatar for coolmind259
0
103
Member Avatar for mISHOOO

Hello, people! I haven't programmed web applications so far, so I don't know too much about them. I need to create an application that will be hosted on a server. The user will interact with it via a web page, but I need to make parts of the code to …

Web Development asp.net client-server web-server
Member Avatar for mISHOOO
0
77
Member Avatar for valonesal

What I would like to do is return a basic text message if no results are returned from my database. Using the following code can someone tell me how I can accomplish this. Please excuse the code if its sloppy, Im a beginner at php. [CODE]<?php // create short variable …

Web Development display php
Member Avatar for valonesal
0
143
Member Avatar for becraig

I am trying to set a page for logout from a service I use but need to kill the $_REQUEST['login']provided by that service so my logout and redirect works. I have tried the following with no luck [code] unset ($_REQUEST['login]'); header ("Location: http://www.mysite.com/mypage.php"); [/code] There has to be some way …

Web Development php
Member Avatar for somedude3488
0
2K
Member Avatar for blackbr

In visual studio 2008, asp.net / vb.net, I want to be able to generate an mhtml Report Server report, then read it into the body of an email message, and send the email. I know how to initiate the report, and how to generate/send the email message. What I'm confused …

Web Development asp.net email vb.net visual-studio
Member Avatar for blackbr
0
877
Member Avatar for baudday

I would really appreciate help here. I think I'm just missing something small but I just can't figure it out. I have 2 questions about the following code: [CODE=php] <? if(isset($_POST['download'])) { $x = 0; $download_path = dirname(__FILE__).'/'; echo "<b>Downloading from $download_path:</b><br />"; $file = array(); while($x <= $_POST['download']) { …

Web Development php
Member Avatar for baudday
0
130
Member Avatar for Pleasant Day

Javascripts that I find on the net sometimes have pop up messages as part of the app / game, Id like to change the colors used in these pop ups, also Id like to get rid of the blue top bar we have in the pop up. See this image …

Web Development javascript
Member Avatar for ShawnCplus
0
215
Member Avatar for sassenach

Hi, I am using PHP & mySql to grab the title and description that I have stored in a table in the DB. I am trying to dynamically change the <head> <title></title>, as well as <meta name="Description" content="" /> . I used document.title to change the title. I see the …

Web Development javascript
Member Avatar for Troy III
0
817
Member Avatar for andym67

This is driving me crazy and should be very easy. I am trying to pre-fill an html form with session data using echo. I can compile and run but the form field contains a / if the session data is blank. How can I get rid of the / Heres …

Web Development php session
Member Avatar for andym67
0
17K
Member Avatar for Minald

How to display gradient text effects without an image in HTML?

Web Development asp.net
Member Avatar for ddanbe
0
95
Member Avatar for baburk

Help me to show the jquery confirm box. If I move the tags out of content panel it works well. http://www.clientsideasp.net/2009/06/16/showing-beautiful-message-boxes-in-aspnet-web-forms-using-jquery-impromptu/ By using the above site I wrote the code. But I use Ajax. Protected Sub babubabu_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles babubabu.Click 'If IsValid Then 'The …

Member Avatar for codejoust
0
185
Member Avatar for mstrlouis

I am trying to link one variable in the search results to its corresponding variable which is in the same row but on a different field result. For Example [B]title || lyrics[/B] father || am i so proud to be your son... If I search for father, I get father …

Web Development mysql php seo
Member Avatar for cwarn23
0
136
Member Avatar for rob-lozyniak

I am aware that JavaScript arithmetic does not handle either really large numbers or decimals well. This is why I have made this library of functions. I am posting it here rather than under "code snippets" because I would like to learn from your comments. Along with the library is …

Web Development javascript mathematics regex
0
1K
Member Avatar for laghaterohan

Folks....can u tell me how to pass an argument to the Javascript function written in source thru Code behind...?? here is my code: [Code] <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> function message(name) { alert("Hello" + name) } </script> </head> [/Code] In my code behind file : [CODE] btnok.Attributes.Add("Onclick", "message();"); // …

Web Development asp.net javascript
Member Avatar for laghaterohan
0
112
Member Avatar for 3pid

Hey, I`m trying to use MySql database in asp but I keep getting this error: The server tag is not well formed I think my problem is that I cant connect to mysql! Does anyone know how to use mysql database in asp.net? [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" …

Web Development asp.net client-server
0
103
Member Avatar for Cheeki

Hey guys, im having the weirdest problem with my ajax!! below is the function that is called when ever a if statement evaluates to true. Anyway the problem im having is that this if statement [code] if(xmlHttp.readyState == 4) [/code] with in the ajax functions runs when readyState is equal …

Web Development javascript
0
61
Member Avatar for bshyama24@gmail

Hi All, I'm using application object in Application.Lock(). But some errors are coming.The errors has been given below. Error E:\...\StateMgmt\ 25 E:\infonet\in\StateMgmt\Default.aspx.cs 24 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Lock' and no extension method 'Lock' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a …

Web Development asp.net assembly
Member Avatar for bshyama24@gmail
0
115
Member Avatar for 68thorby68

I'm experiencing alot of issues trying to create the $to field as a variable, PHP is reporting Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/shhdcouk/public_html/PHP/class_vcard.php on line 172 and I'm not sure why.... my code is. $send = $_POST['email1']; $to = $send; $subject = "Registered for xxxx"; $body="Thank …

Web Development php
Member Avatar for 68thorby68
0
92
Member Avatar for aashishn86

hi all i have been using ASP... I basically wanna learn PHP and Drupal now.... I tried installing WAMPSERVER ..... I have got it installed , but i can't make it run... i already have IIS installed on my computer.. i changed this in the httpd.conf file [COLOR="Red"]Listen 8080 ServerName …

Web Development php
Member Avatar for aashishn86
0
248
Member Avatar for saj_amo

Protected Sub subdata(ByVal id As Integer) Dim myDataReader As System.Data.SqlClient.SqlDataReader Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand Dim strSQL As String strSQL = "SELECT class_id,subject_id,subject_name FROM subject where subject_id =@class_id " myConnection = New SqlConnection(" Data Source=SAJJAD;Initial Catalog=ac;Integrated Security=True") myCommand.Parameters.AddWithValue("@class_id", id) myCommand = New SqlCommand(strSQL, myConnection) myConnection.Open() …

Web Development asp.net open-source
Member Avatar for sknake
0
139
Member Avatar for jakoso

I am trying to code a webpage that does the following: Listens for user key presses in an input box and dynamically writes them below the input box in a textarea. Any help?

Web Development javascript
Member Avatar for Thirusha
0
86
Member Avatar for mvchandoo

I had problem with mouse out in div. i tried for one long day in vain. can any one do it. it was an urgent issue.Thank you in advance. the code is <!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>The test</title> </head> <script type="text/javascript"> function changeStyle(div) …

Web Development html-css javascript
Member Avatar for Troy III
0
152
Member Avatar for webdevelop
Member Avatar for neilkevins
0
89
Member Avatar for AdventDeo

Ok so here's a part of the php file I'm using. There's already a toggle_it() function to show/hide rows, tables, anything. But now what I want to do is when the user clicks the link "add more", I want to show the hidden row AND hide that "add more" link. …

Web Development php
Member Avatar for almostbob
0
122
Member Avatar for valonesal

What I would like to do is have an area of my site where visitors can verify if a domain is registered through us. So basically we would manually ad the website names to a text list and would like the script to check the list and if the website …

Web Development php
Member Avatar for Will Gresham
0
73
Member Avatar for Reliable

I'm learning PHP & MySQL. While trying to folllow a tutorial I am not getting the erxpected result which is simply to retrieve a little data out of a table with a query. Here is my PHP code: [CODE=php]<?php //1. Create a database connection $connection = mysql_connect("localhost", "kingdomc_mtech", "busine$$"); if …

Web Development php
Member Avatar for almostbob
0
104
Member Avatar for dthatsme33

I'm not sure if this is the right forum so I apologize in advance! I created a mobile version of my website. I have a subdomain called mobile.thinkdolphin.com. I've tried doing a redirect in my .htaccess file but I get an error saying there are too many redirects: [CODE]RewriteEngine On …

Web Development iphone php xml
Member Avatar for dthatsme33
0
169
Member Avatar for rayarman

Hi, I have the following dates, either: - 07-09-09 (which is 7th September 2009) or - 07/09/2009 (which is again 7th September 2009) I need to reformat whichever one of these formats comes up so it is correctly inserted into myql db via php. Have tried strpos to find - …

Web Development mysql php
Member Avatar for almostbob
0
106
Member Avatar for rashid47010

BELOW IS PHP CODE GETTING PARSE ERROR AT LINE #16 [CODE=PHP] <html> <head> <title>table php file</title> <?php $times=2; if(isset($_POST["submit1"])) { $start=$_POST["txtStart"]; $end=$_POST["txtEnd"]; $times=$_POST["txtTimes"]; for($start;$start<=$end;$start++) { $answer= $start * $times; print($start. "multiplied by" .$times. "=" .$answer.) ; } } ?> </head> <body> <form name="form1" method="post" action="table.php" size=15> Start-Number:<input type="text" name="txtStart" value="1" …

Web Development php
Member Avatar for ShawnCplus
0
96

The End.