52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PomonaGrange

Hey All, I am trying to write a php script and would like to have an autosuggest text box with data from a mysql database. This would be for designating a town in a form. The sql query I would use would be. [CODE]<?php $connection = @mysql_connect($server,$dbusername,$dbpassword) or die(mysql_error()); $db …

Web Development javascript sql web-server
Member Avatar for PomonaGrange
0
187
Member Avatar for dragonflyuk

I'm trying to detect googlebot, or more to the point have some code not run when googlebot is viewing the page This is what I am using if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]), "google") === FALSE) However google bot appears to be still running the code, anybody any ideas?

Web Development google php
Member Avatar for dragonflyuk
0
125
Member Avatar for brr

in my pop up window if user want to go parent window only by cancel button or submit , in this way i use all attributes [CODE] popupWindow=window.open("pharma_finance_master_bank_add.jsp?ma="+ma+"&gr="+gr+"&na="+na+" " ,"mywindow", "height=400, width=600,titlebar=0,resizable=0,menubar=0,toolbar=0,location=0,directories=0,scrollbars=0,status=0"); [/CODE] but i can't disable the X (close) on the top right, could u plz help me regarding …

Web Development javascript
Member Avatar for brr
0
71
Member Avatar for psathish2

[COLOR="Green"]downloaded file show only 0byte nothing in download file............... this file uploading codes... [/COLOR] [COLOR="Red"]Code:fileload.html[/COLOR] [code]<html> <head> </head> <body> <center> <form method=post action="loadfile.php" ENCTYPE="multipart/form-data"> <h4>Enter the Following Details</h4> <table border=1> <tr> <td> Enter FolderName</td><td><input type="text" name="fname"> </td> </tr> <tr> <td> Title</td><td><select name=title> <option value ="resume">resume</option> <option value ="resume1">resume1</option> <option value …

Web Development file-system php
0
113
Member Avatar for brr

in my form there is 4 fields in that 2nd one is list box in that if u select item have to open pop up window and in that pop up window after enter all values( 4 fields) when click submit button window have to close and control come back …

Web Development javascript
0
75
Member Avatar for veledrom

Hi, I create dbf.php file to connect database and require dbf.php in main.php but, doesn't work. Thanks dbf.php [code] <?php $conn = mysql_connect('localhost', 'root', ''); if (!$conn) { die('Could not connect: ' . mysql_error()); } else { mysql_select_db('dbf', $conn) or die('Could not select database.'); } ?> [/code] main.php [code] <?php …

Web Development php
Member Avatar for praveen_dusari
0
116
Member Avatar for knrakesh

hello friend, i require help for forget password please provide code for this please Thank u in advance Rakesh Nagekar

Web Development php
Member Avatar for saikishore
0
76
Member Avatar for anuj mishra

like i m plannin 2 go for some language nd m completely confused... in between vb.net and asp.net...... could any one let me know which one is for what nd more applicable nowadays in industry... like my main emphasis is on website developement.....nd o also want to develop an inventory …

Web Development asp.net vb.net
Member Avatar for anuj mishra
0
129
Member Avatar for greeny_1984

hi everyone, iam having a textbox in my application containg a calender iamge as shown below,which when clicked displays a calender,on clicking on the calender,the date is displayed in the textbox. [code] <asp:TextBox ID="txtfromdate" runat="server" Width="100px"></asp:TextBox> <A id="A5" href="javascript:show_calendar('aspnetForm.ctl00_ContentPlaceHolder1_txtfromdate','','','DD/MM/YYYY');" runat="server"> <img id="Img5" border="0" height="20" src="../images/cal.gif" runat="server" alt="Pick a date" width="24"/></A> …

Web Development javascript
Member Avatar for greeny_1984
0
139
Member Avatar for jamello

people! I noticed that when a web page displayed is sent to the printer for a hardcopy, some sometimes annoying and unnessary headers and footers are printed alongside the main document. This are usually the file paths of the document being printed. I believe there is a way this "feature" …

Web Development asp.net printer
Member Avatar for greeny_1984
0
162
Member Avatar for RedDem0n

Hey everyone, I am on a month long project on a coldfusion script I have to work on. Bare with my noobness here :P Basically here is the jist of it. -- I have a huge sql database filled with various random people information, such as their phone #"s, email …

Web Development coldfusion
Member Avatar for hinde
0
147
Member Avatar for ramseswar

i m not able get the session variables on the other pages....................... if i use session_start(); it gives error:header already sent............... kindly help me ..................i m stuck.!!!!iiii!!!!!

Web Development php session
Member Avatar for Shanti C
0
92
Member Avatar for veledrom

Hi, What should i do for "logout link" to clear "login session" because, when i click "logout link", i can come back to same page without any problem with clicking on back button on the IE. Thanks

Web Development php session
Member Avatar for veledrom
0
104
Member Avatar for jamello

I have a project I am currently working on and I need users to be able to chat online amongst themselves. Please experts, what are the basics I need to know and implement so that this becomes possible.:?: :cool:

Web Development asp.net
Member Avatar for jel3
0
112
Member Avatar for Sharaiha

hi i need help with a web page i am making the index page is a common subscription form for students you enter name email and student number, the page validates them then send them to a JSP page. the problem is i am not good at all with JSP …

Web Development java-jsp
Member Avatar for peter_budo
0
114
Member Avatar for satheeshmanian

Hi All, When i tried to execute my ASP.Net Application, I got the Runtime error in IE " 'null' is null or not an object ". Im using Visual Studio.Net 2005 and using some Ajax Controls in my application. If i click some Events, it shows the above message. Please …

Member Avatar for MattEvans
0
322
Member Avatar for jeffchan86

i'm doing a online hotel reservation project using asp.net Vb script now. but i'm facing problem that once the users has submitted their reservation form. how can i redirect the user to another page while the data can be inserted into my MS SQL database? hope somebody can help me …

Web Development asp.net
Member Avatar for tuse
0
238
Member Avatar for MDGM

Hi all, Im editting a whois script so when it returns the details of the whois search it returns one positive answer if the "loggedin" cookie is found, and another positive answer if it is not, and a negative one if the domain is taken. The whois script works fine …

Web Development php
Member Avatar for MDGM
0
193
Member Avatar for ishlux

Hi all, I have the code for uploading the file......but to store the uploaded file in database and how to retrieve the uploaded file...... i want the code and logic Thanks in advance

Web Development php
Member Avatar for Shanti C
0
83
Member Avatar for Nithya.G

iam using two checkbox inside the gridview, when i select one of the checkboxes the second box should automatiocally checked Thanx in advance Nithya

Web Development asp.net
Member Avatar for Kusno
0
106
Member Avatar for psathish2

How upload file to mysql db in server and show to link in next page the uploaded files ..

Web Development mysql php
Member Avatar for shadow_kira
0
118
Member Avatar for ManiacPC

Hi everyone, I'm trying to fix this issue .... I'm really annoyed about this... I'll explain you: I have a main computer, called "maniacpc" wich it's choosen ip its: 192.168.0.106 (constant ip) and i have installed windows xp with iis 5.1(updated till now 06/13/2007), i created my applications using postgresql …

Member Avatar for Ricendithas
0
154
Member Avatar for knrakesh

hii, can anyone please see the doc in this the del is not working pleaseeeeeeeeeeeeeeee Rakesh Nagekar

Web Development php
Member Avatar for Shanti C
0
85
Member Avatar for Tony0930

I am almost done developing this e-commerce site and my client just asked me to add a shopping cart. I have some templates, but I want to start from scratch, is there a specific way of starting to do it? What should I consider when building a shopping cart?

Web Development php
Member Avatar for Shanti C
0
111
Member Avatar for NCX001

Hey guys, I'm kinda new to this whole programming thing so bare with me please. I have a little problem that I just can't seem to get my hear around. I have a working on an inventory management page. It keeps track of what software is installed where and how …

Web Development coldfusion
Member Avatar for taramichael
0
140
Member Avatar for god_1896

hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my …

Web Development php
Member Avatar for god_1896
0
97
Member Avatar for swanqute

I need a code that hides the content when clicked and reveal them on demand using javascript. This is in webdesigning anyone to help

Web Development javascript
Member Avatar for Shanti C
0
189
Member Avatar for ramseswar

[code=php]$getm="SELECT player FROM manutd WHERE player='$x'"; $get=$mysqli->query($getm,MYSQLI_USE_RESULT); while($row=$get->fetch_object()) { $name=$row->player; } [/code] is there anything wrong with this code.........................plz help

Web Development php
Member Avatar for ramseswar
0
241
Member Avatar for nzaman

Assign values to two variables. Use comparison operators to test the first value is: *The same as the second *Less than the second *Greater than the second *Less than or equal to the second Would really appreciate it if some one could do this for me cheers!

Web Development php
Member Avatar for Shanti C
0
67
Member Avatar for PomonaGrange

Hi All, I have been trying to create a php page that will upload a image, create a thumbnai and process a sql query, all automatically. I have attached the two files. The form page (show-addrecord2.php) and the processing page (do_addrecord2.php). The sql statement works fine. I am just having …

Web Development image php
Member Avatar for somedude3488
0
108
Member Avatar for veledrom

Hi, Javascript below doesn't work. It always retuns false. Where is mistake? thanks [code] <script Language="JavaScript"> function validateAreas(){ if (document.form1.selectS.value=="") { alert("Please select a S"); form1.selectS.focus(); return false; } return true; } </script> <form name="form1" method="post" action="" onSubmit="return validateAreas();"> ..... <select name="selectS"> <option selected="selected"></option> <?php $q="SELECT id FROM spp"; $run=mysql_query($q); …

Web Development javascript
Member Avatar for veledrom
0
85
Member Avatar for charbel007

Hello Everybody In Php iam using the checkbox and it has been one month i can not solve it; when i select one checkbox from several ones , and i click send e-mail= it is sending to all e-mails; it is not sending to the selected checkbox ; I need …

Web Development email mysql php
Member Avatar for charbel007
0
800
Member Avatar for nzaman

Can any one please create a php script for me. A script that uses the if....else statement to categorise the marks of a student as First Class,Second Class Upper, Second Class Lower, Pass Or Fail.

Web Development php
Member Avatar for nzaman
0
112
Member Avatar for nzaman

Under what circumstances would you use JavaScript?

Web Development javascript
Member Avatar for Shanti C
0
97
Member Avatar for saikishore

hey, can some body help me with the CP web hosting services for windows in php...??? Control panel containing [B]site management[/B] consisting of hosted domains, domain manager, FTP manager, file manager, and [B]E-mail options[/B] consisting of E-mail manager, webmail, e-mail fwding.

Web Development php
Member Avatar for saikishore
0
102
Member Avatar for greeny_1984

hi everyone, iam having a textbox in my application containg a calender iamge as shown below,which when clicked displays a calender,on clicking on the calender,the date is displayed in the textbox. [code] <asp:TextBox ID="txtfromdate" runat="server" Width="100px"></asp:TextBox> <A id="A5" href="javascript:show_calendar('aspnetForm.ctl00_ContentPlaceHolder1_txtfromdate','','','DD/MM/YYYY');" runat="server"> <img id="Img5" border="0" height="20" src="../images/cal.gif" runat="server" alt="Pick a date" width="24"/></A> …

Web Development asp.net javascript
0
108
Member Avatar for veledrom

Hi, I'll create a Login.php page to check uid and password and let user login to the system. Now, do i check uid and password in same Login.php or i post uid and password to next page to be checked there? What is the best way? Thanks

Web Development php
Member Avatar for veledrom
0
118
Member Avatar for abs0lut01

[code]<?php session_start(); include 'config.php'; $post = $_GET['post']; $slected = array(); if(isset($_POST['checkb'])){ if(count($_POST['sa']) > 0){ $do2 = mysql_query("UPDATE ptable SET status='updated' WHERE id='$post'") or die(mysql_error()); if($do2){ echo 'updated'; } foreach($_POST['sa'] as $awrd) { $result = mysql_query("UPDATE ctable SET awarded='yes' WHERE id='$awrd'") or die(mysql_error()); $slected[] = $awrd; if($result){ echo 'awarded'.$usersid; } } …

Web Development php
Member Avatar for Shanti C
0
156
Member Avatar for god_1896

hi all; I have a problem in diplaying the city name. pleas cheack the line of this code. [QUOTE][CODE]$result=city::getDisplayName('$id'); echo $result;[/CODE][/QUOTE]

Web Development php
Member Avatar for Shanti C
0
61
Member Avatar for brr

in my [B]jsp [/B]form , there is one dropdown list , if select one particular list item have to open new pop up window which doesn't have any menu's, address bar etc., [B]upto this i completed using window.open()[/B] [B] i got problem from now[/B] but when i fill the textbox …

Web Development javascript
Member Avatar for peter_budo
0
92
Member Avatar for brightline

I want to go to a specific position in the page when the user clicks on a specific button. I am using asp.net 2.0

Web Development asp.net
Member Avatar for greeny_1984
0
74
Member Avatar for saikishore

Hey, i need a help from u... when ever one of my users registered into my website,,,,then automaticaly conformation mail send to users email... plz send me asap....its urgent...

Web Development php
Member Avatar for Shanti C
0
78
Member Avatar for asyieen

i want coding for upload function...actually, i want to make upload function in my system....who can help me.....plzzz anyone give me the code for upload file into system...thanks

Web Development php
Member Avatar for nav33n
0
77
Member Avatar for 2eXtreme

Hey Guys, I was hoping someone could tell me how to run server side code to process a file? Basically, I want users to upload a file to my site, and once the file is uploaded, I want server side code (I'm thinking PHP) to process the file. Also, I …

Web Development file-system php
Member Avatar for lordspace
0
125
Member Avatar for Scottmandoo

Can anyone tell me why this code isnt working? [CODE=php]<?php $username = $password = $database = $email23 = $_POST['email']; $con = mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = "SELECT * FROM `user_user` WHERE `email` = '$email23'"; $query = mysql_query($sql) or die('Error: ' . mysql_error()); $r = mysql_fetch_row($query); …

Web Development php
Member Avatar for Scottmandoo
0
286
Member Avatar for veledrom

Hi, I get this error on red coloured line. "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\.....". I use PHP 5.25, MySQL 5.51. [code] $sql="SELECT * FROM customer"; $run = mysql_query($sql); [COLOR="Red"] if (mysql_num_rows($run) > 0) {[/COLOR] .... } [/code] When there is record it …

Web Development mysql php
Member Avatar for lordspace
0
165
Member Avatar for netnuta

Hi there all! I do not have a great knowledge of php but I do know basic html. I have a javascript popunder script that I would like to try on my site that runs on a php script. I know how to insert this script into an html page …

Web Development java javascript php
Member Avatar for netnuta
0
95
Member Avatar for subratcall

Hi, I am a new bee in PHP , I have a asignment to write a online polling script. Can u please help me get the script to refer and write a fresh code as per my requirement

Web Development php
Member Avatar for subratcall
0
64
Member Avatar for Nisar05

Hi i need a special help in making a online bookstore using ASP.NET and C#.can any one help me, that how to start and how to make it,because i know very little about ASP.NET.Thanks in advance.

Web Development asp.net
Member Avatar for rsoliz
0
384
Member Avatar for emilio

i am trying to print an array list in a jsp page like this: [CODE]<body> <FORM METHOD="POST" ACTION="index.jsp"> <input type="text" name="text" value="" /> <input type="submit" value="add" /> </FORM> <jsp:useBean id="tomer" class="java.util.ArrayList" scope="session"/> <jsp:useBean id="r1" class="java.util.Iterator" scope="session"/> <% if (request.getParameter("text") !=null) {%> <% tomer.add(request.getParameter("text"));%> <%}%> <%r1 = tomer.iterator();%> <%while(r1.hasNext())%> <%{%> <%r1.next();%> …

Web Development java-jsp session
0
92

The End.