17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for feoperro

Hi, Below I have code that contains ajax on a JSP. The JSP runs the Servlet which gets a parameter from the JSP and returns the exact same input field's value. For some reason, it is returning a null though. Can someone please assist? Servlet: [CODE] package Web; import java.io.IOException; …

Member Avatar for feoperro
0
138
Member Avatar for smvec

hi.. im trying to validate a registeration form using javascript.. i successfully validated all the textbox individually by using onblur event... but when i click submit button, without entering text, or without even touching the textbox, the Form gets Submitted.. hw can i stop this... plz tell me a solution...

Web Development javascript
Member Avatar for smvec
0
104
Member Avatar for chupinette

Hello everyone! I am developing a php web application and I was searching on how to deploy it. I heard about nusphere..But it is a trial version..Can anyone give me some suggestions or tutorials on how to deploy a php application? Thanks, Chupi :)

Web Development php
Member Avatar for chupinette
0
110
Member Avatar for mark2326l

I have entry dates of my records in format yyyy-mm-dd. I have 2 drop down menus, one for Year, and one for Month to select. I have no idea how to return results without using the complete date. If I use a text box and enter the exact date (Y,m,d) …

Web Development php
Member Avatar for mark2326l
0
107
Member Avatar for jrw0267

[CODE]echo "<param name='FlashVars' value='mp3=Slipknot-Duality.mp3&bgcolor1=$rgb\&showinfo=1&autoplay=0&showstop=1&showvolume=1'>";[/CODE] I am having a problem getting my bgcolor1=$rgb to be evaluated I know that $rgb has a value in it because i am using print_r($GET) and it is evaluated as the correct value how do i get the variable to pass as a paramater in the …

Web Development html-css php
Member Avatar for edwinhermann
0
90
Member Avatar for armyguydave69

I just switched webhosting companies and I'm having a major problem now, I keep getting errors that I wasn't getting before. Mainly, these right here: [code] Notice: Undefined index: username in D:\hshome\c274056\test.yourroommatefinder.com\register\signup.php on line 12 [/code] Here's line 12: [code] $username = mysqli_real_escape_string($dbc, trim($_POST['username'])); [/code] Tried this too: [code] $username …

Web Development php
Member Avatar for armyguydave69
0
83
Member Avatar for nadnakinam

how to retain the values of radio buttons back from databese? for example, if user provided with 3 options (red, blue & green) if a user selected green(the value is stored in database) then next time he/she returning to the same page, previously selected option green radio button need to …

Web Development php
Member Avatar for nadnakinam
0
168
Member Avatar for vkennedy

Ok, this question probably has been asked quite a number of times, but I am fairly new to this technology and am not sure of what I should search for. So, if someone could either point me to a link where it has already been answered or provide the answer …

Web Development javascript web-server xml
Member Avatar for vkennedy
0
117
Member Avatar for feoperro

Hi, I'm starting to learn Ajax after playing around with JSP and Javascript, I felt the need for interaction without reloading the page. I've searched everywhere for a simple java servlet/ajax example that I can play around with but just found a lot of asp and complex java examples. Could …

Member Avatar for feoperro
0
175
Member Avatar for tarunkhatri

I want to insert multiple rows in a database table, from an submit form. But not able to trouble shoot the problem in my code. Following is the code which is not inserting any row in the database. [CODE]<form action=test_insert.php method="post"> <table> <?php for($i=0; $i<10; $i++) { ?> <tr> <td><input …

Web Development php
Member Avatar for tarunkhatri
0
99
Member Avatar for ayesha789

Please explain me and when we [ICODE]echo $form;[/ICODE] then it shows. please explain this. [CODE]$form=<<<POST <form method="post" action=""> </form> POST;[/CODE] Thanks in Advance...

Web Development first-post php
Member Avatar for ayesha789
0
106
Member Avatar for sakhi kul

Hi to All, I am accessing text box value and error is operator '-' cannot be applied to operands of type System.web.UI.WebControls.TextBox and int

Web Development asp.net c#
Member Avatar for sknake
0
95
Member Avatar for mundetas

I have a form with check boxes, but if some of the check boxes I are not checked I get undefined index is there a why around this please help. I am using $_POST. :-/

Web Development php
Member Avatar for mundetas
0
164
Member Avatar for CFROG

I've been working with a script that allows users to look up other users in their area based on their zip code. I attempted the script myself but the whole lat/long thing was a bit much for me to understand, so I settled for one that I found on the …

Web Development php
Member Avatar for diafol
0
425
Member Avatar for Stefano Mtangoo

Hi All, I have been learning making CMS and you guys have been helpful. I can now post, and view the posts. I need to edit/delete articles. I have read somewhere that you can make a link that appends an id of the article and you can retrieve it via …

Web Development cms html-css php
Member Avatar for Stefano Mtangoo
0
109
Member Avatar for cavpollo

I got a master page with a content place holder (called: placeForButtons). In one of my forms a panel (called: uxButtonsPanel) is added as one of its controls . Later when the program is running (after it compiled what it had successfully) I try to add a button( called: uxInteractionButton0) …

Web Development asp.net
Member Avatar for sknake
0
105
Member Avatar for uktena

I'm writing a utility for work using forms, then submitting the supplied information into a database with php. The work this intended for is to be performed every thirty days. I need to find a way to automatically check the database and be sure each table in this database has …

Web Development php
Member Avatar for uktena
0
118
Member Avatar for dhavalcoholic

Hello friends, I am trying to make a simple search box in ASP. I am using a text box, where the user enters his query. And besides it, I am using drop down menu (<select>.. <option>.. </select>) in which the user selects what he want to search (Song name, Artist, …

Web Development asp
Member Avatar for dhavalcoholic
0
203
Member Avatar for Altairzq

Hello, I would need to upload two files from two different iframes, but they have to be treated at the same time by the same server script, so I'd need to send them with a unique submit. Is this possible? For what I have seen, the submit targets a single …

Web Development javascript
Member Avatar for Altairzq
0
76
Member Avatar for haggis-man

I wish to pass an array of arbitrary content via a hidden field in a form which uses the POST method [CODE]$targets = any old array; ... build form to include ... <input type=hidden id=targets title=targets name=_targets value=\"".htmlspecialchars( serialize( $targets ))."\">[/CODE] Clearly this requires some use of the htmlspecialchars() or …

Web Development php
Member Avatar for haggis-man
0
106
Member Avatar for sakhi kul

Hi All, I want to show user registration information which he fill up in registration form & he can edit it. So I use details view. but I want to hide some fields like user_id(Primary key) etc. & some fields that he can't edit. How can I manage it..?

Web Development asp asp.net
Member Avatar for majestic0110
0
100
Member Avatar for armyguydave69

Okay, this is probably a lame question. I have a search page which which needs to be sorted by distance when the results come back from mysql. What's the easiest way to do this since mysql orders the results? heres the code i wanna try to use: [code] function CalculateDistance($lat1, …

Web Development php
Member Avatar for edwinhermann
0
119
Member Avatar for armyguydave69

Hi, I'm having a slight problem on my home page. Depending on if the user is logged in or not depends on what navbar they see. However, even if the user is logged in - it will sometimes tell the user he is logged out. If you refresh the page …

Web Development html-css php session xml
Member Avatar for armyguydave69
0
185
Member Avatar for veledrom

This is content of in.header.php [code] if(!isset($session_id) || empty($session_id)) { session_start(); $_SESSION["Inputs"]=array(); } [/code] This is index.php which also has form objects that POSTs other values to step1.php [code] require_once 'inc.header.php' $_SESSION["Inputs"]["name"]="MyName"; $_SESSION["Inputs"]["surname"]="MySurname"; [/code] This is step1.php [code] require_once 'inc.header.php' $_SESSION["Inputs"]["age"]=$_POST["textboxAge"]; print_r($_SESSION["Inputs"]); [/code] Problem is print_r prints only [inlinecode]Array ()[/inlinecode]. …

Web Development php session
Member Avatar for veledrom
0
177
Member Avatar for sandeep_1987

Currently I have two textboxes & one button, Suppose In One textbox1 i write sandeep gupta after clicking on button in textbox2 Sandeep Gupta is dere using the foll. code- [code] protected void Button1_Click(object sender, EventArgs e) { string capitalized = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1 .Text); TextInfo UsaTextInfo = new CultureInfo("en-US", false).TextInfo; TextBox2 …

Web Development asp.net
Member Avatar for sandeep_1987
0
197
Member Avatar for puk

I have a text box in a form that is validated to accept a value called ds01 but i also want the textbox to be allowed to accept empty spaces that is if nothing is entered in the textbox. The problem is that it does not accept anything other than …

Web Development javascript
Member Avatar for Troy III
-1
115
Member Avatar for MikeGore

Hi, I know the format is right, but what is my user ID and password. I get this error when I try to open the webpage on localhost: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is …

Web Development asp.net open-source
Member Avatar for MikeGore
0
102
Member Avatar for armyguydave69

Hi, I've been looking around for a hosting company and haven't been able to decide on one. I was basically wanting to see what some people would recommend. My requirements: 1.Windows based 2.PHP & ASP.NET 3.Unlimitied disk space 4.Unlimited bandwidth 5.Allow to host unlimited domains under one account 6. The …

Web Development asp.net php
Member Avatar for diafol
0
127
Member Avatar for dougbarrett

Hello everyone! I searched the site already to see if this question has been addressed already and found no results, but if it has then I appologize and if you can link me to that thread I'll refer to that to solve my problem. I am trying to save a …

Web Development mysql php
Member Avatar for dougbarrett
0
732
Member Avatar for Kadjii

Hello, I'm having a strange problem. I'm trying to make a link to a page called stats.php for a series of first names that I have stored in a database. However, when I use the code below the hyperlink ends up being a link to the current page I'm on …

Web Development php seo
Member Avatar for Kadjii
0
219
Member Avatar for elidotnet

I have some web page im using ajax accordion script. my question: is there any code (or maybe code in different language or script) that will make the window not to close copletly? i mean, there is the title line after you click the arrow the window open after you …

Web Development asp.net
Member Avatar for serkan sendur
0
318
Member Avatar for azegurb

hi I have just took from internet dinamic table. this table is dynamic and its rows dynamically can be increased. but i would like how create SUM function that automatically sums each added row value (text value) here is the code if possible please help me Thanks beforehand [code=html]<html xmlns="http://www.w3.org/1999/xhtml" …

Web Development javascript xml
Member Avatar for azegurb
0
4K
Member Avatar for beanboy

hi helpers, i'm trying to read an array from jsp in to java(servlet) page the code is JSP CODE (readingcheck box values): [CODE] String select[] = request.getParameterValues("sel"); if (select != null && select.length != 0) { for (int i = 0; i < select.length; i++) { out.println(select[i]); [/CODE] its working …

Web Development java java-jsp
Member Avatar for Thirusha
0
2K
Member Avatar for jen140

Hello all. I was looking for a way to make some grafical stats of recieved files on my honeypot. After thinking on the way to do so, i understood that the easiest way would be parsing the filename with regullar expression or using dir() command. But for parsing the data …

Web Development php
Member Avatar for jen140
0
103
Member Avatar for hemgoyal_1990

Hi All, I have a PHP Code That is Search Input Value from Database and Print it. but i want to Print Serial Number (1,2,3......) before my Every Query. For Ex: 1. Name F Name Add 2. Name F Name Add 3. Name F Name Add 4. Name F Name …

Web Development php
Member Avatar for hemgoyal_1990
0
73
Member Avatar for ayesha789

Hi, I am developing a software. I need to show only those subscriber, their subscription will expire after 90 days and less then 90 days. and when it show these subscriber it saves information in another table automatically. For Example: if Subscriber have expiry date 15-decemeber-2009, it shows alerts that …

Web Development php
Member Avatar for ayesha789
0
361
Member Avatar for nigelsponge

Hi a kind member (ardav) helped me with some php scripting to get a drop list to be populated using an exploded function in php. I need to also add a first option to the list that would say "Choose Color" as the client wants the light and dark colors …

Web Development php
Member Avatar for nigelsponge
0
116
Member Avatar for jonturlington

I am receiving a System.IO.FileNotFoundException when attempting to access a path like "C:\Path\~somePath\Path\file.ext" it reports the error: [code]System.IO.FileNotFoundException: Could not find file 'C:\Path\~s'. File name: 'C:\Path\~s' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, …

Web Development asp.net
Member Avatar for serkan sendur
0
360
Member Avatar for cwarn23

Hi and I have just noticed with my media wiki installation that all of my pictures in mediawiki are suddenly broken. The files are there but if I enter the path location in the url bar it takes infinit time to load (never loads - no error). Same for in …

Web Development image php seo
Member Avatar for cwarn23
0
216
Member Avatar for f_atencia

Hi all, I have an SQL Datasource: [code=asp.net]<asp:SqlDataSource ID="shownMovie" runat="server" ConnectionString="<%$ ConnectionStrings:MovieTix %>" SelectCommand="SELECT movie.title, movie.category FROM [movie],[session],[theatre],[cinema] WHERE cinema.cinemaLocation=theatre.cinemaLocation AND theatre.theatreNumber=session.theatreNumber AND session.movieID=movie.movieID AND ([movieID] = @movieID)"> <SelectParameters> <asp:ControlParameter ControlID="GridView1" Name="movieID" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:SqlDataSource>[/code] However, i get the following error message: Ambiguous column name 'movieID'. Basically I …

Web Development asp.net session sql
Member Avatar for jbisono
0
140
Member Avatar for darangho

Hi, all I am completely new to webprogramming and I am trying to make a table with expand and collapse feature. When clicking on each row from table, the row should expand and display other information below. I already got partially working, but this only works for the only the …

Web Development javascript
0
244
Member Avatar for BeckyAnne87

Hi, I am having a little access/control issue. I can add a user to the database using a signup page, go back to the login page, and then log in using the new user. but if i click on a link to go to anoher page that requires the user …

Web Development php session
Member Avatar for BeckyAnne87
0
135
Member Avatar for funlovingashish

hiiii, i have to build a secure web application using jsp, for which i have to implement SSL. I have generated the certificate using java keytool but as soon as i edit my server.xml file to enable connector port for https (8443) and add the other attributes like keystore,storepass and …

Web Development cybersecurity java java-jsp
Member Avatar for funlovingashish
0
226
Member Avatar for Major_Hafez

Hi all, i had Web Page include [B][U]DataList [/U][/B]control , [B][U]TextBox [/U][/B]and [B][U]Button [/U][/B].. [B]DataList1 [/B]: Getting Data from SQLDB [B]TextBox [/B]: for Editing Selected Field in [B]DataList [/B] [B]Button [/B]: Submit Editing when i Click [B]Button [/B]it Editing Data Succefully in [I]SQLDB [/I], but in same Time [B]DataList [/B]Control[COLOR="Red"] …

Web Development asp.net
Member Avatar for Major_Hafez
0
535
Member Avatar for tarunkhatri

I have a javascript function for calculating sum of values in row and colom of a table. It is using get element by id table name. So is table specific. I am calling that function every time a value changes in the table by [CODE]<td><input type="text" value="0" size = "2" …

Web Development javascript
Member Avatar for Troy III
0
174
Member Avatar for smvec

im a newbie php developer... i've tried sending an email n receiving the confirmation back for activating the users... here is the email sending code : [CODE]if($res) { echo "record added"; $to = $mail; $sub = "Confirm Mail From LeLys"; $header = "from: admin<support@domain.org>"; $message = "confirm link \r\n"; $message.= …

Web Development email php
Member Avatar for wilch
0
197
Member Avatar for mwouters

Hello, I have a category structure upt to 5 levels deep. My table looks like this; [code=sql]CREATE TABLE `categorie` ( `ID` int(11) NOT NULL auto_increment, `category_name` text NOT NULL, `parentID` int(11) NOT NULL default '0', UNIQUE KEY `ID` (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Cats' AUTO_INCREMENT=91 ;[/code] And I would like …

Web Development php
Member Avatar for mwouters
0
1K
Member Avatar for eclecl

Hello everyone, I'm learning JavaScript programming and I have a test to do. Will it be possible for someone to check what I've already written and let me know if I'm on the right track? In green are the questions asked and in red are my answers. I also put …

Web Development javascript
Member Avatar for JugglerDrummer
0
120
Member Avatar for carie

Hello, I'm working on a recursive loop subcategory system. The code below is ALMOST where I need it. The last thing I'd like to do is indent each subcategory based on levels deep, rather than just separate by commas. I can't seem to wrap my head around it. Any suggestions? …

Web Development php
Member Avatar for carie
0
171
Member Avatar for decimo

I have the following code that pulls data off a mysql database and stores it in a 2D array ($rows). But after I print the contents with a foreach loop I just can't seem to be able to use that array again! Can't figure out how to reset it (printing …

Web Development php
Member Avatar for edwinhermann
0
494

The End.