52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for satees

Hi, I have displayed firstname, lastname and city fields in the datagrid. In these, first two are bound columns and the city is template column which has dropdown list control. When i click "Add new row" button, i need to add one dynamic row which has two textbox and one …

Web Development asp.net
Member Avatar for alc6379
0
1K
Member Avatar for bidemi

I have this assignment in school that says i should connect my asp.net website to my database and i'm finding it difficult, could you help pls? thanx i basically need the codes,i created my database using sql.

Web Development asp asp.net
Member Avatar for alc6379
0
95
Member Avatar for Dsiembab

Good morning, I am sure this has been asked before. So here it goes. I've been playing with these two php functions and was wondering if I have the logic right. let's say I wrote a function called crazy encrypt [CODE] <?php function crazyencrypt($password){ $is="isthis"; $overkill="overkill"; $pass = $password.$is; $pass1=md5($pass).$is; …

Web Development php
Member Avatar for Dsiembab
0
78
Member Avatar for Artemis

Hello, We are re-writing an application and are going to use soap as the communication protocol. Our product is installed on one or more machines in a network and communication is cross-process and/or cross machine. we are looking at iis or a lighter weight host such as cassini. I have …

Web Development first-post web-server xml
Member Avatar for brutus9448
0
147
Member Avatar for Pro2000

Hi, I tried this code: [ICODE]<?php session_start(); $id=$_GET['fileid']; if($id=="1") { $dwnld = "File1.zip"; } else if($id=="2") { $dwnld = "File2.zip"; } else if($id=="3") { $dwnld= "File3.zip"; } if($id) { header("Content-type: application/download"); header("Content-disposition: filename=$dwnld"); readfile($dwnld); } ?>[/ICODE] I want the user to download those files from a folder named Archives... Example: …

Web Development php
Member Avatar for nav33n
0
192
Member Avatar for earlofroberts

i need a code sample to capture the value of a record id from the selected row so that i can send it as a parameter to the oracle procedure that deletes the record. thanks

Web Development asp.net oracle
Member Avatar for viswa_007
0
91
Member Avatar for lydia21

html page <form method="get" action="sort2.php"> <table> <tr> <td>id</td><td><input type="text" name="id"></td> </tr> <tr> <td>From</td><td><input type="text" name="from"></td> <td>To</td><td><input type="text" name="to"></td> <td><input type="submit" name="submit" value="submit"></td></tr> </table> </form> sort2.php <?php $id=$_REQUEST['id']; $to=$_REQUEST['to']; $from=$_REQUEST['from']; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $query="(select name,id from member where id=(select day,time from attend where day between '$from' …

Web Development mysql php
Member Avatar for nav33n
0
152
Member Avatar for webguru07

I have a 2D array like this: [code]$cart = array(array("Item", 6.99), (array("Item 2", 13.99)); [/code] i am using this for a shopping cart i am making. I can add to it fine. What i need to be able to do is remove items from the array. I have been racking …

Web Development php
Member Avatar for nav33n
0
110
Member Avatar for thanigaimani83

Hi guys. i can explain for my doubt with example.see.my table have multiple type of employee details like as Managmment,Programmer,Designers,Accountants,Contra ctEmployees.Each type of department having many employee details.Now my drop down list having types of department names like that above types of department names..if i select any one type of …

Web Development asp.net javascript session
Member Avatar for alc6379
0
102
Member Avatar for dev1910

Hello frenz, I am trying to modify the templateField itemized hyperlink on my GridView. My problem is , I have 3 types of status, 'KIV','Complete'&'Incomplete'. I must display 'KIV' in Red color font with its coresponding linkA. As for 'Complete', it has to be in 'Green' and matched to linkB. …

Web Development asp asp.net
Member Avatar for alc6379
0
420
Member Avatar for natep

I have a checkbox form where different check boxes need to send the form to different email addresses. Right now, no matter the check box, it goes to the same emails. <span class="clients"> <input type="checkbox" name="blah" value="checkbox" /> Blah</span></p> <p> <span class="clients"> going here: <SCRIPT LANGUAGE="php"> $email = $HTTP_POST_VARS[email]; $mailto …

Web Development php
Member Avatar for nav33n
0
107
Member Avatar for jay64

I don't really know how to explain this easily. I guess I will layout the project I am trying to do, and the problem I am having with it, and maybe someone could explain it better to me. I am trying to build an online food journal for a fitness/nutrition …

Web Development client-server perl php
Member Avatar for jay64
0
151
Member Avatar for ruman_eee

hi everyone, I have some problem about simplifying my php code. At first I want to load my form and then load my information from database if their are any data exists according to the user name. Actually the problem is,I want to load the js while the information is …

Web Development php
Member Avatar for scru
0
122
Member Avatar for Venom Rush

Hi everyone I'm looking for a script that uploads and resizes images onto a server. I've been tormenting myself with the one from [url]http://blazonry.com/scripting/upload-size.php[/url] The reason I think that it's not working is because the server I'm working on doesn't have the libjpeg and libgr-progs library packages. And I'm not …

Web Development php
Member Avatar for Venom Rush
0
95
Member Avatar for manvendra

JavaScript is not working on Internet Explorer 7. I typed a simple html program but the JavaScript is not running. Here is a simple program <html> <head> <script> function hello() { alert("Hello"); } </script> </head> <body onload="hello()"> </body> </html> If you have a solution please reply

Web Development javascript
Member Avatar for ~s.o.s~
0
546
Member Avatar for drsmith

I want to create a dynamic link to a file...basically the info is displayed in a .php template read in from MySQL db. I want to also have a link to the saved text file. Here is some of what I have: [code] $date=$_POST[Date_Entered]; $shift=$_POST[shift]; $shift_table=$shift."_shift_duties"; $fileDir="TOP".$shift."Shiftlog" $fileID=.$date."_".$shift."shift.rtf"; [/code] and …

Web Development html-css php
Member Avatar for drsmith
0
106
Member Avatar for paranjyoti

Dear All, I have two files, usr_profile.php and edit_profile.php. The former is for displaying the user's info viz 'Name', 'Email' etc while the latter is for editing the info available in the former. After editing the info in the edit_profile.php and submitting it, it gets redirected to the usr_profile.php. The …

Web Development image php
Member Avatar for nav33n
0
95
Member Avatar for Nareshp_123

Hi all, i need to do like ,when i place the mouse pointer on a textbox(i think its onmouseover event.not sure) it should display or popup a small message which provides information about the format of values need to be entered in that textbox.please provide me like how can i …

Web Development asp.net javascript
Member Avatar for Nareshp_123
0
103
Member Avatar for DaitoTsu

Hi there guys & gals, this is my first post here will try to be as accurate as possible. The problem i have seems to me to be quite basic but i cannot for the life of me work out how i can do it, am hoping you good folks …

Web Development php
Member Avatar for DaitoTsu
0
192
Member Avatar for vinithktp

to this servlet i have to get values of to,from address and filename from a jsp though all jar files are put in class path the servlet is not recognized public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try{ String to = request.getParameter("to"); String from = request.getParameter("from"); String …

Member Avatar for vinithktp
0
182
Member Avatar for mghihor

Hi GridView Experts! I have problems with GridView when adding a column using TemplateField. I fill GridView1 from a stored procedure. It has a Select statement and returns 14 columns, `AutoGenerateColumns="True"`. When I add two columns manually to be able to start drag and drop, the drag and drop works …

Web Development asp asp.net
Member Avatar for mghihor
0
661
Member Avatar for ray_broome

Hi, I am trying to create a 'simple' admin page where certain (authorized) people can update data in the database or add new info to it. The issue i've run into is after i created the form and have all the fields how do i tell which one(s) the user …

Web Development javascript mysql
Member Avatar for nav33n
0
138
Member Avatar for lydia21

hi i have two different table,i want to select the name and id(primary key) from the first table..based on the id..i want to select the rest of the data in the second table... the below query is showing error,plz do tell me the bug. $query="select id,name from table1 where id='$id' …

Web Development mysql php
Member Avatar for nav33n
0
93
Member Avatar for dreamerdevos

I have tried a lot of things. The lines of code; $file_name1=$_FILES["image"]["name"]; $ext = strtolower(end(explode('.', $file_name1))); if($ext!="jpg"&&$ext!="jpeg"&&$ext!="png"&&$ext!="tif"&&$ext!="gif") The middle line being the line that is in "error" gets this error when trying to upload a picture, Fatal error: Only variables can be passed by reference $ext = strtolower(end(explode('.', $file_name1))); My …

Web Development php
Member Avatar for nav33n
0
111
Member Avatar for hoasabi

Hi, I need some help with ASP. I''m only familiar with the language but now I have to do project. I have 3 pages: login.asp, login_script.asp and admin.asp and i'm using access database When the user logs into the login.asp page, it checks the database to see if that username …

Web Development asp microsoft-access session
Member Avatar for CertGuard
0
130
Member Avatar for moyles

[B]how do u add php scrips to your website ??[/B]

Web Development php
Member Avatar for moyles
0
313
Member Avatar for jencinas69

Hello I need to do a form that writes to a database I know how to do that What I dont now how to do is how I dump my data from the db as XML I want the data to come out like this on the xml <jobs> <job …

Web Development php xml
Member Avatar for martin5211
0
88
Member Avatar for gotmick

I have a form page on a public webserver that needs to send queries to a different internal server on our network, and have the results sent back to our public server. The internal server is an AS400 i5 running Zend Core php and querying a DB2 database. Making this …

Web Development php session
Member Avatar for martin5211
0
141
Member Avatar for moyles

[B]hello i would like to add a training function to my online texted based game could someone help me ??? is there any websites or scrips whihc help u ?? thanks moyles[/B]

Web Development php
Member Avatar for moyles
0
82
Member Avatar for billah_norm

[FONT=Comic Sans MS]WEB ADDRESS FOR FREE DOWNLOADING OF PDF COPY OF A PHP BOOK[/FONT] Hello? I am a new learner of PHP. I have interested about it. I want to know any web address for downloading a free pdf copy of a good well known introductory book.

Web Development pdf php
Member Avatar for avmaza
0
231
Member Avatar for kings

hi i have a table where dates and other info are getting inserted... i have a form where the user can select a start date end date.. based on the start date and end date ..i want to retrieve all the content stored between these dates.....

Web Development mysql php
Member Avatar for nav33n
0
85
Member Avatar for SamWinters

I'm trying to learn php/mysql Read "php and mysql for dummies" and keep getting stuck. Can you get me through this? Regards, Kris [email]m31342@hotmail.com[/email]

Web Development mysql php
Member Avatar for ithelp
0
180
Member Avatar for kusal

Hi, hope this is the right place, Here is my problem <h4 Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla </h4> I want the content between <h4> tags in a variable, using only one expressions thnx Kusal

Web Development php regex
Member Avatar for nav33n
0
130
Member Avatar for kings

hi i want to insert the textbox content to database....wen i give disabled="true" data is not getting inserted in database....when there is no disabled attribute it is getting inserted..... <form name="fm3"> <table> <tr> <td>splendor Id</td><td><input type="text" name="id3" size="20" disabled="true" value=<?php print "$_SESSION[uname]";?>></td> </tr> <tr> </table> </form>

Web Development php
Member Avatar for kings
0
134
Member Avatar for adaykin

Hey suppose I have code like: <td id="something">I want to put stuff in here</td> How would I be able to put the value of a JavaScript array into the part where I want to put stuff. Say the value of the array at a position is hello, I would output …

Web Development javascript
Member Avatar for adaykin
0
81
Member Avatar for gym_shorts

Hello all, I have a problem and after searching for hours was hoping someone would have some information that would greatly help me out. I am developing a website locally on my development machine, (Mac OS X Tiger 10.4.11, Apache 1.3.33, and PHP 5.2.2). The site is based on a …

Member Avatar for gym_shorts
0
109
Member Avatar for ybn1197

Hi all - I'm hoping someone here can help me with this as I have been trying to figure it out for the past 48 hours and have made little progress. I have two table in my database. The Primary Key (Serial) in tblTitles is the Foreign Key(Serial) in tblQuotes. …

Web Development php
Member Avatar for ybn1197
0
107
Member Avatar for nathanpacker

Quick question here. I wanted a way to quickly change the URL of an image that is place on my page, so I came up with the following little script: [code=php] <?php echo "Status: $status"; if ($status == 'Online'){ rename('status.bmp', 'offline.bmp'); rename('online.bmp', 'status.bmp'); } elseif ($status == 'Offline'){ rename('status.bmp', 'online.bmp'); …

Web Development php
Member Avatar for nav33n
0
342
Member Avatar for drsmith

I posted this in the html section but I am not sure if it will be that simple. I have a .php form that populates from info in a MySQL DB. Anyway, I want to have the ability to email the form(whatever happens to be displayed at the moment) to …

Web Development email php
Member Avatar for drsmith
0
113
Member Avatar for justapimp

I have this ArrayList that consist of list of structure and I would like to use the content of the ArrayList as the return type for the function bellow. Can anyone help please. [code] public struct DeviceSchedules { public string StartDate; public string EndDate; public string Interval; public string DeviceTimeZone; …

Web Development asp.net
Member Avatar for justapimp
0
99
Member Avatar for jenjen02

I've been having some problems with a little piece of Javascript. I am completely new to the language, so bear with me. What the end goal is to have a few link on the left side of a table, when the user hovers over them, there will be a thumbnail …

Web Development image javascript
Member Avatar for jenjen02
0
76
Member Avatar for rime

I am trying to write a code to get IP of a computer. I have written the following code : <?php $ip=@$REMOTE_ADDR; echo "<font face='Verdana' size='3'><b>IP Address= $ip</b>"; ?> But the output I am getting is : IP Address= 127.0.0.1 i.e the common IP for all machines, what is the …

Web Development php
Member Avatar for nav33n
0
124
Member Avatar for kings

hi i am not able to update my table.plz do tell me the bug in my code..... when update link is clicked in the first page..the table should get updated [B][COLOR="Green"]page 1[/COLOR][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $x = $_GET['name']; $result=mysql_query("SELECT * FROM table1 where name='$x'") or …

Web Development php sql
Member Avatar for nav33n
0
245
Member Avatar for bjg5858

Hi I am new to php and most other things, I am trying to make a form on my website to take users details for membership purposes. This data will be stored in a mysql database. What I have at the moment is a plain html form that posts the …

Web Development php
Member Avatar for buddylee17
0
152
Member Avatar for abhishek2301

Hi, I am using a JSP from to collect data from user and then inserting those values into a table in MySQL.But it is returning 'null' always.I am able to query the DB and view the entire table and everything else is fine. But the INSERT is not working somehow!!! …

Web Development java-jsp mysql
Member Avatar for tommybobby
0
148
Member Avatar for fredjahed

Hi All, When trying to change the bcackgroundImage of element useing javascript method style.backgroundImage="url(blue_link.gif) no errors found but the script can't find the image so what is the correct way to use the address of the image? Thanks very much in advance, Fred

Web Development javascript
Member Avatar for ~s.o.s~
0
120
Member Avatar for BalagurunathanS

Hi all.. I am having some controls in my aspx page.I need to write javascript for those controls for validation..For that i need to make the controls visible false in certain situation .I also want to make the controls to visible true in certain sitauations..Some one help me with javascript …

Web Development javascript
Member Avatar for saars
0
5K
Member Avatar for Pro2000

Hello everybody, I want to write an email to some one by php function... I mean Mail(....) What may I write in the headers to send this message safety to another one... I mean by using the ([COLOR="red"]Cc[/COLOR]) Or ([COLOR="red"]BCc[/COLOR]). So that is a querstion.... I have another question: Can …

Web Development email php
Member Avatar for Pro2000
0
143
Member Avatar for EmpireZ

Hello, I am trying to figure out how to have the data pulled from a input text box field so it displays as columns. Right now, when I hit enter to add a new line in the text box and look at it where it suppose to be displayed, it …

Web Development php
Member Avatar for EmpireZ
0
64
Member Avatar for caterpillar

Hi I am using 2 dropdownlists such that corresponding to the item selected in the 1st dropdownlist only the related items will appear in the 2nd dropdownlist. The problem is that the 2nd dropdownlist is never populated. My code is: Sub popdropdownlist1() Dim myConnection1 As New SqlConnection(ConfigurationSettings.AppSettings("connectionString1")) Const strSQLC As …

Web Development asp.net
Member Avatar for raghu.8
0
112

The End.