52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for extemer

how to popup submit button while selecting item from the dropdown list. i had completed the task of displaying textfield while selecting item from the dropdown list but unable to figure out how to popup the submit button with textfield while an item is selected from the dropdown list...please help …

Web Development javascript
Member Avatar for Amr87
0
554
Member Avatar for spixy

I wonder if how could i achieve this code: these are the conditions 1. there will be 2 text-areas 2. the text-area will be having a input of several lines of like this one: [CODE]Griffon Treant Werebear High Elf Efreeti Vampire Sheep Elven Archer Militia Archer Dark Elf Magician[/CODE] 3. …

Web Development php
Member Avatar for spixy
0
119
Member Avatar for vernz

Hi everyone New to the site (as you can tell) I've searched the web and your site and still struggle to find an answer to my question. I'm creating a profile website in PHP, I have my sign up and login forms, which registers the details on my sql database, …

Web Development php
Member Avatar for vernz
0
106
Member Avatar for bubbafunk1

Hi Can anyone tell me how to have the email that is received from a form on a website formatted so it looks nicer. Here is the code that generates what i see in the received email. i just want to make some lines bold and in red and on …

Web Development email php
Member Avatar for cereal
0
143
Member Avatar for McLaren

Hello, I have problem with submiting form in IE. This is the part of the code for submission. I am using jQuery validate and form plugins. On other browsers it submits. Tried ie7, ie8, ie9 and none of them submitted. (actually I tried on IE9, but in ie7, ie8 modes.) …

Web Development javascript
Member Avatar for McLaren
0
228
Member Avatar for butz17

guys, i need some help here regarding on the appearance of my background image for my table. i tried to place the image already inside the folder "WebApplication1" where my project is located but the image still is not visible in my table. im using the Mozilla Firefox as my …

Web Development asp.net html-css
Member Avatar for butz17
0
233
Member Avatar for tsp003

Hi Guys, I'm a bit of a newbie, but I like to think I learn quick :) I have a piece of code that's working well to show that a job listing has expired. Can anyone tell me if there is a simple way of telling it not to show …

Web Development php
Member Avatar for tsp003
0
211
Member Avatar for Danny159

Hey, I need to get the last ID from my mysql database and add +1 to it. I saw this mysql_insert_id(); but it looks like it only gets the last insert id? But what happens if the last query was a different table? Dan

Web Development mysql php
Member Avatar for Danny159
0
167
Member Avatar for vinaysrk919

i have the coding as below given... and i getting error [CODE]TimeSpan date1 = TimeSpan.Parse(TextBox1.Text); TimeSpan date2 = TimeSpan.Parse(TextBox2.Text); TimeSpan ts = date1 - date2; Textbox3.Text=ts;[/CODE] Textbox1 show the current date, Textbox2 show the previous date, and Textbox3 show the difference of textbox1 and textbox2 as the above given code.. …

Web Development asp asp.net
Member Avatar for vinaysrk919
0
197
Member Avatar for Jamesiscrazzy

I've been trying to get this to work for alittle over a week and im about to lose hope in my capabilities. I need some help, someone who can write the working code and explain what is happening. Basically, i want to display a message that is called from posts.php …

Web Development javascript php
Member Avatar for Jamesiscrazzy
0
239
Member Avatar for heshanm

Hi all, I have tried this for a very long time. But i could not found out the error. This should suppose to retrieve data when a user enters particular Account Number. But always an empty form displays...:-( [CODE] <?php $connect=mysql_connect('localhost','root',''); mysql_select_db('bank',$connect); if( isset($_POST['account_number']) && !empty($_POST['account_number']) ){ exit(); } ?> …

Web Development php
Member Avatar for rv1990
0
201
Member Avatar for erik216

I don't know why can't I update? Coding show as below: [CODE]<?php $con = mysql_connect("example.com","user","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("germanpo_gpweb", $con); $refnum = $_POST['reference_num']; $recetel = $_POST['receiver_tel']; mysql_query("UPDATE `order` SET `receiver_tel` = '".$recetel."' WHERE `reference_num` = '".$refnum."'"); mysql_close($con); ?> <p align="center"><? echo "$refnum , …

Web Development php
Member Avatar for faroukmuhammad
0
221
Member Avatar for hajjo

I have <a title="jjj jjj" /> it appears as jjj new line jjj in itnernet explorer. but in firefox it ignores new lines and replaces them with space. any solution for this on firefox?

Web Development javascript
Member Avatar for Admiral
0
78
Member Avatar for TheNNS

Ok, so I this error on one of my PHP pages. Parse error: syntax error, unexpected T_PRINT in /var/www/html/texas/z_code/wells_edit.php on line 177 I have no idea what i'm doing wrong and I've been trying to figure this out for some time. If any one could help me, that would be …

Web Development php
Member Avatar for TheNNS
0
225
Member Avatar for MARKAND911

I am developing an application in Classic ASP My database is SQLSErver 2008 I am getting a problem in connecting to my database. Here is the code which i used to connect. [CODE] connstring ="server=mymsever;database=mydb;Trusted_Connection=Yes;" set conntemp = server.createobject("ADODB.Connection") conntemp.ConnectionString=connstring conntemp.Open() Response.Write(conntemp.State) [/CODE] The last statement is for the confirmation …

Web Development asp
Member Avatar for Golden-Boy
0
160
Member Avatar for jcarbillon

Hi Guys. Is it possible to trap this error in Classic ASP, and redirect to another page instead of displaying this error? [COLOR="Red"] Microsoft OLE DB Provider for SQL Server error '80004005' Transaction (Process ID 104) was deadlocked on lock resources with another process and has been chosen as the …

Web Development asp
Member Avatar for Golden-Boy
0
258
Member Avatar for taurian2702

Can someone please help me for providing value from asp in to javascript function? I want to use "$('#countdown').countdown({until:$.countdown.UTCDate(+12, 2011, 9 -1, 5), format: 'DHMS', layout: " and where you can see the numbers, i want use value which i have retrieved from database.

Web Development asp java
Member Avatar for Golden-Boy
0
94
Member Avatar for kaizokupuffball

Okay, so basically i need a little helpt with some validation code. I need to see if the user has actually selected an image, if not, $error = 1;. I tried this: [CODE]if($_FILES['image']['name'] == "") { echo 'Error: Select an image!'; $error = 1; }[/CODE] I tried several times to …

Member Avatar for kaizokupuffball
0
468
Member Avatar for vizz

I have Date in format: 12, August, 2011 and Time : 09:11:02 I am using following for Date [CODE] date("j, F, Y"); [/CODE] and following for time [CODE]strftime("%I:%M:%S")[/CODE] How to create database and insert date & time as it is into MySql ?

Web Development mysql php
Member Avatar for pritaeas
0
102
Member Avatar for Ichcha

am getting [COLOR="Red"]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent[/COLOR] while running the following code. please help to fix it.. thanks. <html> <!-- centermain.php is a frame, user redirected to frame if tried to access from url--> <SCRIPT LANGUAGE='javascript'>try { if (top == self) {top.location.href='centermain.php'; } …

Web Development php session
Member Avatar for smrict
0
144
Member Avatar for Paaat

Hello everybody I'm working on MySQL I always have to use the Count function like this: [CODE]$Q = mysql_query("Select count() from tableA",$connection);[/CODE] How can I handle this query? How can I handle the number returned by this query?? Thanks.

Web Development mysql php
Member Avatar for Paaat
0
251
Member Avatar for uselessninja

hi everyone i have 2 textboxes: when i enter a name on first textbox the first letter of what i have entered will appear on second textbox...is it possible for javascript? to make it clear: i will enter a name "COCOMARTIN" on the firstbox and the first letter " C …

Web Development javascript
Member Avatar for uselessninja
0
146
Member Avatar for Kavatae

Hello everyone, I'm thinking of doing a website that does horse race winning prediction based on previous winnings of a horse. Where do i start? and can anyone help me in integrating neural network or by use of probability into a php website how does it work? any tutorials that …

Web Development php
Member Avatar for G&G Designing
0
195
Member Avatar for jd2011

I am currently looking for a way not go get caught using an auto healing scipt for a text based game. Here is the script code. I will not give the website name. [CODE]// ==UserScript== // @name Auto eat script // @namespace // @author Private // @include http://www.xxx.com/game.php // @version …

Web Development javascript
Member Avatar for jd2011
0
143
Member Avatar for gonidelux

wenn im upload picture the error was in this row ! is the prob. with witdh an height ! ?? [CODE]$h = number_format(($size[1] / $size[0]) * $width, 0, ',', '');[/CODE]

Web Development php
Member Avatar for vibhaJ
0
87
Member Avatar for doitnow1147

i don't know why my firefox browser executing mysql query two times. and this is happening only with firefox. i have tested the code with chrome and opera and its working fine. now i have tested simple php code . this one [CODE]mysql_query("insert into test('1','12345')");[/CODE] just this code and i …

Web Development mysql php
Member Avatar for vibhaJ
0
69
Member Avatar for ssreevidya.m

hai , I used LINQ in application. I want to perform batch update. For that i used the code as: [CODE] int[] istudentId = new int[]; int j = 0; for (int i = 0; i < GrdStudent.Rows.Count; i++) { if ((GrdStudent.Rows[i].FindControl("chkSelect") as CheckBox).Checked) { istudentId[j] = ObjStudent.Student_Id; j++; } …

Web Development asp.net
Member Avatar for stbuchok
0
146
Member Avatar for jacksantho

Hi, anybody please help me out. i am having an array $test1=array(1,2,3,4) i want this "test1" array values into "test2" array variable.thanks

Web Development php
Member Avatar for karthik_ppts
0
81
Member Avatar for ougesh

Hello all, am Ougesh and a beginner in web development, i wish to become a good php developer and want some help from u guys of where and how to start. Thank you very much

Web Development php
Member Avatar for ougesh
0
124
Member Avatar for jacksantho

Hi, Can somebody give me the sample coding to develop "online request form" using php.

Web Development php
Member Avatar for dean8710
0
320
Member Avatar for uselessninja

hi ... can someone point out whats wrong with this code?... i think i code it correctly but it gives me an error... <HTML><HEAD> </HEAD> <?php $db_host = 'localhost'; $db_user = ''; $db_pwd = ''; $database = ''; $table = ''; if (!mysql_connect($db_host, $db_user, $db_pwd)) die("Can't connect to database"); if …

Web Development php
Member Avatar for uselessninja
0
392
Member Avatar for iamsiter

[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cmc; import java.sql.*; /** * * @author Sahil */ public class signup { String fn,ln,un,pwd,cpwd,dob,sex,email,sec,secans; String emp,colg,skul,relstat,fammem,fam,con,country,state,city,pin; Connection cn; Statement st; int i,j,k; public int getI() { return i; } …

Web Development java-jsp mysql
Member Avatar for peter_budo
0
150
Member Avatar for newbie14

Dear All, I have a page here [url]http://183.78.169.54/tree/2.html[/url]. What I want to control is that for link on the left that is clicked I want the text to change to a particular color to highlighted it have been selected. And when another linked is clicked I want the previous linked …

Web Development javascript
Member Avatar for malini1211@gmai
0
521
Member Avatar for dwinn

Hello, I am attempting to put a list box in to my program, so that when the page loads, a list of files from my FTP site appear. I also want it so that a file can be selected on the screen and downloaded. Is there a way to do …

Web Development asp.net vb.net
Member Avatar for codereflex
0
678
Member Avatar for Moss ali

[code]if (row.Cells[2].Text.ToString() == "&nbsp;") { txtstreet.Text = string.Empty; } [/code] Help me out pls. I want to check row.cell[2].Text for null

Web Development asp.net
Member Avatar for Moss ali
0
157
Member Avatar for turt2live

Hello, What I am trying to do is restrict access to something if 48 hours hasn't passed since the last access. I have a MySQL table with the last access time (col name: lastAccess). If they are within the 48hours, deny access and tell them how many hours and minutes …

Web Development php
Member Avatar for burgercho
0
175
Member Avatar for momonq1990

<!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>Asiahome Trading Corporation (Server)</title> <script language="javascript" type="text/javascript"> function validate(){ var user = document.getElementById('username') var pass = document.getElementById('password') user.style.backgroundColor = (user.value.length == 0) ? "red" : ""; pass.style.backgroundColor = (pass.value.length == 0) ? "red" : …

Web Development javascript
Member Avatar for Amr87
0
157
Member Avatar for srijon

I am trying to create a calender with a checkbox for each date. When a user clicks the submit button, I want to get those selected dates inserted into the database and those which are not selected would be deleted from the database if those already exist before. I have …

Web Development php
Member Avatar for madCoder
0
119
Member Avatar for riseguim

For some reason, people cannot write apostrophes without resulting with an error... For example: Prud'homme will not work Here's my line of code: [CODE]$string_exp = "/^[A-Za-zé.¸UûÙùàÀèÈéÉïÏîÎôÔêÊçÇ .,'-]+$/";[/CODE] I don't understand why it doesn't work, does someone know?

Web Development php
Member Avatar for minitauros
0
134
Member Avatar for Ender330

Hello, I need to find a way to use regex to exclude a phone number like this: +558499608822 I want any number that starts with the country code 55 to be excluded. For some reason \+55 does not work. Thanks for the help...

Web Development html-css php regex
Member Avatar for pritaeas
0
69
Member Avatar for azegurb

hi, All. I know that how to use public, protected and private variables. for ex: public i can use it another class, protected i can use in main and being inherited class and private only the class where it declared. but i dont understand what is purpose to it public, …

Web Development php
Member Avatar for MooGeek
0
124
Member Avatar for konradhoppe

Hi community, I am struggeling to get an ajax request to work. The main issue here is that I can't fill in a select box from jquery for some reason. I was working before without jquery and used the method innerHTML() to paste options into the box, which worked fine, …

Member Avatar for konradhoppe
0
202
Member Avatar for rayidi

echo "<form action='' id='customForm' method='post'>"; echo "<div>"; $mobile = $_SESSION['mobile']; echo "<label for='name'>From : $mobile</label>"; echo "</div>"; echo "<div>"; echo "<label for='name'>Sender Mobile number</label>"; echo "<input type='text' name='recipient' id='mobile' class='error'>"; echo "<span id='nameInfo' class='error'> Mobile number must contain only 10 digits</span>"; echo "</div>"; echo "<div>"; echo "<label for='email'>Message &nbsp; &nbsp; …

Web Development api php
Member Avatar for cereal
0
488
Member Avatar for hajjo

I have this window.top.onscroll = function(){moveScroll(); } It works perfect in ie, but in firefox I get permission denied to get property onscroll. why? and whats the solution? on top of my page i have done this though var url = document.URL; url = url.substring(7,url.length); url = url.substring(0,url.indexOf(":")); if(isMoz) document.domain …

Web Development javascript
Member Avatar for stbuchok
0
151
Member Avatar for Coyx

Hi guys! I'm back with more problems! I've tried everything... I just can't seem to get it to work. :( Okay, a short explanation of what the goal is. I have 5 buttons, and a list of records which are pulled from the database. Import CSV Create Edit Delete View …

Web Development javascript
Member Avatar for stbuchok
0
293
Member Avatar for jorjah

gudpm,,hi every one!!!i just want to know if there are codes that will make a graph for our decision support thesis.thank you

Web Development php
Member Avatar for vibhaJ
0
96
Member Avatar for kamalbasha.v

hi friends.. how to send the mail using smtp in php

Web Development php
Member Avatar for vibhaJ
0
37
Member Avatar for gunnarflax

Hi everybody! I'm creating a minor feed reader and I wonder how I can best store information on which feeds have been read or not? I was thinking of storing an url to the feed, the post title and the time it was posted. Would this be sufficient?

Web Development php
Member Avatar for vibhaJ
0
116
Member Avatar for surjeetk27

hi friends.... I'm getting this type of error n running my program... Warning: include(include_fns.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 7 Warning: include() [function.include]: Failed opening 'include_fns.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\index.php on line 7 Can Anyone plzz Tell me what this …

Web Development file-stream php
Member Avatar for vibhaJ
0
125
Member Avatar for mwenyenia07

in Microsoft sql server 2005 or later,it is easier to generate unique numbers using the database server directly. you only specify the IDENTITY specification say 10000 and an incremental value say 1. this will generate numbers from 10000 upwards and at no time a number can be repeated or used …

Web Development mysql php
Member Avatar for vibhaJ
0
119

The End.