52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anumitadas

I want to fetch data from Mysql database in list box..but it's not happening The code is: [code=php]<?php include("connection.php"); $sql= "select student_age from student_data"; $result= mysql_query($sql); if(!$result) { die('could not connect:'.mysql_error()); } while($row = mysql_fetch_array($result)) { echo "anumita"; ?> <option value="<?=$row[0]?>"> <?=$row[0]?> </option> <?php } ?>[/code]

Web Development php
Member Avatar for TopDogger
0
127
Member Avatar for macokovac

Hello all I need fast answer on this: How i can change(or) reset value ["referalvisits"] to ZERO? let's say that there is some value: for example 23220 I need reset it to zero and count again from zero.. "" [code=php]<th>Referral Visits</th> <td>&nbsp;&nbsp;<? echo $row["referalvisits"]; ?></td>[/code] "" thank you alot I …

Web Development php
Member Avatar for Aamit
0
167
Member Avatar for kevin wood

hope someone can help me with this. i am trying to update records in a mysql db with a new image but i keep gettin errors. i am using a hidden form input to post a variable across to a new page, i can echo the variable out at the …

Web Development cms php
Member Avatar for kevin wood
0
103
Member Avatar for Aamit

Hi.. I am using downloaded code from google it create frame when we upload image. i am modified that code .. I want like when uploaded new image 1> previous image is deleted or new image is overload on previous image in Same frame but problem is when new image …

Web Development image javascript
Member Avatar for Aamit
0
105
Member Avatar for rickya100

Hi there, So I thought this would be simple and it should be but I can't see what is wrong. Basically I am checking what language has been selected (via a code stored in a constant LANG_CODE) and then loading in a specific swf file. Except that the language code …

Web Development flash php
Member Avatar for rickya100
0
93
Member Avatar for danishbacker

[code] if (window.print) { document.write('<form>Click Here To ' + '<input type=button name=print value="Print" ' + 'onClick="javascript:window.print()"> This Page!</form>'); } [/code] using this code the whole page is printed can I limit the paper size? also can I remove the print header and footer? Thanks in advance.

Web Development javascript
Member Avatar for essential
0
4K
Member Avatar for vivek_web

wen i try to connect jsp with access i found error showin "no data found" ..how can correct it ? also data is not inserted in my database..my codin is below.. [code=JSP]<% Connection con = null; Statement stmt = null; ResultSet rs = null; String quer = "insert into db …

Web Development java-jsp
Member Avatar for ndtreviv
0
181
Member Avatar for cybernaut09

I am creating a login page , where when user enters his username and password the the request is sent to the servlets first and then validation is done in a javabean . If validation results true then user is forworded to another page otherwise he remains on the same …

Web Development java java-jsp web-server
Member Avatar for stephen84s
0
122
Member Avatar for l1985

Hello I'm making a wabsite with a gridview(so far..) but,when i try to fill with a dataset ...nothing ,i can't see no data and my dataset is never empty ,it contains data .I ran some debugs and the dataset reads correctly from the sql server database here's the code [CODE] …

Web Development asp.net dataset
Member Avatar for l1985
0
113
Member Avatar for marcmm

Ok... I have another problem. I have tryed to split the resultts of my query in to multiple pages with a fixed number of results per page... I used this tutorial for it: [url]http://www.php-mysql-tutorial.com/php-mysql-paging.php[/url] Originally, my page worked as follows: There was a search frame where the user would select …

Web Development php
Member Avatar for marcmm
0
225
Member Avatar for mahaboob Basha

i have a jsp it has two fileds..mobileno and password..when i enterd values its storing in DB.But when iam retriving its retriving and comparing only with newly inserted values only.. it is comparing only last inserted values in Db only ..here is my code.. [code=jsp]package com; import java.io.*; import java.util.*; …

Web Development java-jsp
Member Avatar for peter_budo
0
899
Member Avatar for Dhruv Shah

i am developing a job site and i require to search for records from the database. i m passing value fro that parameter in textbox. so please help me thanks in advance

Web Development asp.net sql
Member Avatar for krany18
0
423
Member Avatar for complexcodes

Hello, I am supposed to write a program that prompts user to enter the numbers separated by space and when user click "ok" button, it should display the numbers entered with its mean, and standard deviation and the window should ask if user wants to enter numbers again if yes …

Web Development javascript xml
Member Avatar for essential
0
184
Member Avatar for Zebu00

/ I'm using Microsoft Visual Web Developer 2008 to make a website and I have an access data source on the page linked to a table with a bunch of cities listed. There is a Grid View on the page linked to the data source. Also on the page I …

Web Development asp.net microsoft-access
Member Avatar for Zebu00
0
81
Member Avatar for phpdude89

Hello to all who read this thread, I am currently developing a PHP web application (alone) which has gotten to a point where I alone cannot do developing on it anymore. I plan on hiring people to develop for me. My problem is I do not want to give away …

Web Development php
Member Avatar for phpdude89
0
87
Member Avatar for elajam

Hi, Can anybody please help me in writing this very simple script: This script will allow visitors on my site to order my services. The price will depend on the following factors: a) Number of pages b) Delivery time in days c) Format of the delivered files. After they select …

Web Development php
Member Avatar for pete911
0
96
Member Avatar for markaman

I have a php page listing all info entered into mysql. One of the fields is an email address, I would like the address to be mailto: All I could think of is [code] <a href= "mailto:?id=<?php echo $row_rsBday['id']; ?>"<?php echo $row_rsBday['email']; ?> </a></p> [/code] No luck with that Any …

Web Development php
Member Avatar for markaman
0
65
Member Avatar for rogelioz

Hi, I'm looking for the equivalent in C# of this function: strip_tags(). I want to use it to validate some input and avoid SQL injection. Any ideas? Thanks in advance.

Web Development asp.net c# php
Member Avatar for raziane
0
1K
Member Avatar for Narayan15

i need help in php [code=php]<?php $num=2; ?> <a href="action.php?id='.$num.'">Text to be displayed</a>[/code] Here i m not getting $num value when i print echo $_GET['id'];

Web Development php
Member Avatar for Narayan15
0
153
Member Avatar for 123468743867143

[B][U]Question:[/U][/B] How to replace %20 characters in URL with a dash (-) when the information is coming from a MySQL db? Code:[B][COLOR="Red"] href='details.php?listid=$record[listingid]&title=$record[title][/COLOR][/B] It currently reads: [B][COLOR="Green"]http://www.mysite.com/details.php?listid=800&title=970%20South%20Bald%20Head%20Wynd[/COLOR][/B] It should read: [COLOR="green"][B][url]http://www.mysite.com/details.php?listid=800&title=970-South-Bald-Head-Wynd[/url][/B][/COLOR] I want to keep the title words for SEO purpose unless you think it is useless?? Thank you - …

Web Development mysql php seo
Member Avatar for ~s.o.s~
0
1K
Member Avatar for rajshree13

How we can authenticate the users without using username and password,i.e anybody can view the page by just entering name,emp id and date and on submitting redirect to the url

Web Development java-jsp
Member Avatar for rajshree13
0
67
Member Avatar for krany18

hai friends ,, in monster/naukri we have a search button is there.using that we can search the record from there. in my project also we have a registration form . if we wants any customer details just we enters the customer id or name that customer details can retrieved. i …

Web Development asp.net
Member Avatar for reach_yousuf
0
141
Member Avatar for sundar divas

Q: Create a JSP based page wherein by clicking the add button the user details should be added to the database and clicking the delete button should delete the particular user details from the database. I am new to JSP so dont have much idea how to proceed? Do we …

Web Development java-jsp
Member Avatar for vee_liang
0
108
Member Avatar for PomonaGrange

Hi Folks I am trying to make a php form processing script. The form would have a large text area in it where the visitors could type a few paragraphs of text. I want this script to break the text from the form after 75 characters or if that is …

Web Development php
Member Avatar for PomonaGrange
0
212
Member Avatar for jobojo

I need to add an array to the end of another array. I understand how to do this using the concat, join, and push methods. However, I need to do this using a loop (I am pretty sure a 'for' loop is the right choice), however, I can not figure …

Web Development javascript
Member Avatar for jobojo
0
1K
Member Avatar for Deusdies

Hi guys (and girls), My friend is considering starting an eCommerce website. He already has a website through which he sells products, but it is almost manually maintained (static HTML) and he has a hard time catching up with all the updates, as his sales have been increasing ever since. …

Web Development ecommerce
Member Avatar for whitehorse_699
0
241
Member Avatar for vinpkl

hi all i have my lougout.php which destroys sessions and session ids on logout. I want to have same effect means i want to call this logout.php script when the user closes the "browser tab". as these are the days of "browser tabs" so this is very important for me. …

Web Development javascript session
Member Avatar for ~s.o.s~
0
2K
Member Avatar for rambleon

Hi I'm getting the following exception from accessDa.Update(ds.Tables(0)) [B]No value given for one or more required parameters[/B] In the following code[COLOR="Red"] (marked in red)[/COLOR]. [code] Protected Sub DataTableCurrMonthForWorker(ByVal ccMifal, ByVal ccWorkerID, ByVal theYear, ByVal theMonth) Dim totInsert As Integer Dim currDay As Integer = 1 Dim theDate As Date Dim …

Web Development asp.net dataset
Member Avatar for rambleon
0
135
Member Avatar for Elmo_loves_you

Hi, I was just wondering if anybody new of a way to store an encrypted file to an sql server database through a stored procedure. I have managed to encrypt a file selected from a FileUpload control but at the minute the encrypted file and the key are created and …

Web Development asp.net file-system
Member Avatar for Saravanan M
0
119
Member Avatar for sbv

I want to know requirement for sending mails in asp.net plz guide Me

Web Development asp asp.net
Member Avatar for sbv
0
146
Member Avatar for kofidak

Hi My Uni assignment is to develop a flight Reservation using ASP and Ms Access database. I have started it and got stack with how to code a select from displayed flights using Radio button. I would much appreciate and suggestions: [code=asp]<table border="1"> <thead><h2><%=(rsOutBound.Fields.Item("deptCity").Value)%> To <%=(rsOutBound.Fields.Item("arrCity").Value)%></h2></thead> <tr> <% While ((Repeat1__numRows …

Web Development asp
Member Avatar for kofidak
0
78
Member Avatar for mahaboob Basha

Hi i created one jsp form with 2 fields..now in the first servlet i want check whether those 2 fields values are presented in the Database or not..if not then i want move those values to another servlet .. how can i do this?how to get the values (parameter values …

Web Development java-jsp
Member Avatar for peter_budo
0
524
Member Avatar for hopalongcassidy

My problem is that I have a PHP application that needs to (in Windowsese) multi-task. I am relatively new to PHP and equally new to Linux. I need to know how to pass information from a parent process to a child process and vice versa. If somebody could please provide …

Web Development php
Member Avatar for digital-ether
0
805
Member Avatar for binoj_daniel

Hi, I have an ASP.NET web app and Iam trying to show my clients a message to save data before saving when they click on the submit button which is working fine. But the problem is I only want to show the Message when there is an actuall change in …

Web Development asp asp.net web-server
Member Avatar for gaurish.salunke
0
157
Member Avatar for realnsleo

hi there, i have a problem resetting my form with javascript. I have a registration form that when submitted, the action is performed in an iframe so that the browser does not have to load another page. After form validation, i want the php script in the iframe to clear …

Web Development javascript
Member Avatar for sasankasekhar
0
111
Member Avatar for flosweb

Hi Guys, I am new here in this community. I still did some stuff with JSP, but now I have a principle questions. Would be nice to receive some feedback... I wanna build up a website with several JSP pages. But I don't want to place all the content into …

Web Development java-jsp session xml
Member Avatar for ~s.o.s~
0
149
Member Avatar for silentbob671123

What I am trying to do is preload images on my website and delay my javascript slide-show until the images are completely done loading. Right now the slide-show starts while the images are still loading, making it kind of awkward. I am using this to preload my images but it …

Web Development javascript
Member Avatar for silentbob671123
0
122
Member Avatar for asciid

hi guys. i am writing a class for registering data and i am having a problem calling functions and vars from other classes. here's a class diagram of where everything is called- [IMG]http://img376.imageshack.us/img376/19/classesdm8.png[/IMG] i am in forms, and i am having difficulty getting vars from site, using my functions in …

Web Development php
Member Avatar for somedude3488
0
140
Member Avatar for seacaptdon

I am using the following PHP redirect script for a non-profit website, but because the blocked IP list keeps getting longer and longer, I want to pull the IP information from a simple mysql database that lists only IP addresses that have been blocked. I have tried several different combinations …

Web Development mysql php
Member Avatar for seacaptdon
0
206
Member Avatar for newbietech

<?php $query_getf = "select ci.tb_ci_id, concat(ci.tb_ci_fname, ' ', ci.tb_ci_lname),ci.tb_ci_city, ct.tb_ct_desc, md5(ci.tb_ci_id), s.tb_s_name_full, case ci.tb_ci_addr_2 when '' then ci.tb_ci_addr_1 else concat(ci.tb_ci_addr_1, ', ', ci.tb_ci_addr_2) end, ci.tb_ci_phone_1, ci.tb_ci_phone_2, ci.tb_ci_fax, ci.tb_ci_email FROM tb_contact_info ci, tb_contact_type ct, tb_states s WHERE md5(ci.tb_p_id)='".$fd_p_d['md5_id']."' AND ci.tb_ct_id=ct.tb_ct_id AND ci.tb_s_id=s.tb_s_id ORDER BY ct.tb_ct_desc, ci.tb_ci_date_added"; //print $query_getf; $sth_getf = mysql_query($query_getf); …

Web Development email perl php
Member Avatar for Rhyan
0
97
Member Avatar for pedramphp

Dear folk , I'm work with PHP speedy Plugin which makes my webpage loads 500% faster [url]http://aciddrop.com/php-speedy/[/url] , the configuration of the php speedy is ok , but when I add <?php require('C:/wamp/www//php_speedy/php_speedy.php'); ?> af the top of the page and then <?php $compressor->finish(); ?> at the bottom of the …

Web Development php
Member Avatar for digital-ether
0
171
Member Avatar for pedramphp

Dear folk , consider I define a constant value [code=php]<?php /*--------values.inc.php ------------*/ define("Data","MyValue") ?>[/code] so right now I want to change the Value of Data from another page and I wold like that to be saved on Values.inc.php file , you know I'm thinking some kind of data Store ,instead …

Web Development php
Member Avatar for digital-ether
0
121
Member Avatar for rickya100

Hi, Thanks for checking this out. The error is that when I use ob_start to store the results of an include file my fwrite statement later on in the code works but only writes a blank file, whereas when the ob_start is not present the fwrite function writes the file …

Web Development php
Member Avatar for digital-ether
0
791
Member Avatar for farahphp

[code] <html> <head> <script language=javascript> function updateopen() { var c_value = ""; var cb = document.getres.checkbox; for (var i=0; i < cb.length ; i++) { if (document.getres.checkbox[i].checked) { c_value = c_value + document.getres.checkbox[i].value + "\n"; } } alert(c_value); //window.opener.document.getElementbyId(numbe33).value = c_value //window.close(); } </script> </head> <body> <? echo '<form name="getres" …

Web Development javascript
Member Avatar for sasankasekhar
0
132
Member Avatar for scottholmes

Upon applying for a job, I was given a "tester". One of the questions was what does the php function ?header? do. I have not seen this syntax nor has it come up on any google search I've attempted. Could someone here please educate me on this item? Thanks

Web Development php
Member Avatar for punjabivirsa3
0
104
Member Avatar for collegestudent

I was just wondering if there was any easy way to convert a document.writeln output to display inside a textarea box in a form. I recently had done an airline reservation assignment (enter 1 for first class, enter 2 for economy class) assignment with all output just written to a …

Web Development javascript
Member Avatar for sasankasekhar
0
165
Member Avatar for blufab

Is it possible to get the value of a non-standard attribute in firefox? I am trying to capture the value of attribute required. In IE I am able to get the value using document.form.required but in firefox it just returns undefined. [CODE=html] <html> <head><title></title></head> <body> <form id="form" name="form"> <input type="text" …

Web Development javascript
Member Avatar for sasankasekhar
0
98
Member Avatar for spokie

hey there im hoping that someone can help me in solving this problem i keep on getting this error when i try to connect from register.html to register.php. Here is my code! [code=php]<?php //Database Information $dbhost = "localhost"; $dbname = "musicwebsite"; $dbuser = "root"; $dbpass = "xxxx"; //Connect to database …

Web Development php
Member Avatar for spokie
0
826
Member Avatar for concordia

Hi all! I am totally stumped and am hoping someone can help me. I have some data in a database that I will be using to create checkboxes. However, since different data will be pulled out depending on what the user chooses, I want to be able to create the …

Web Development php
Member Avatar for sonyparekh
0
95
Member Avatar for servis

hello everybody, i want to pass directory name as a variable in include function like this, [ICODE] $page = 'test'; include('$page/test.php'); [/ICODE] i know this a wrong way, but i don't know how to do it. please anybody help in this regard. Thank in advance....

Web Development php
Member Avatar for servis
0
102

The End.