52,566 Archived Topics
Remove Filter ![]() | |
Hey guys.. I'm working on one project which is in directory - [QUOTE]C:\Tomcat 6\webapps\ROOT\cart[/QUOTE] This is the code in file called shop.jsp [CODE] <%@ page language = "java" contentType = "text/html" import = "ShoppingBasket, Product, java.sql.*" errorPage = "errorpage.jsp" %> <html> <head> <title>Welcome to Shop</title></head> <body> <table width = "385" … | |
when i play my site with IIS ... aspnet_wp.exe get 100 MG of memory. i disposble any variable ... i use textbuilder ... i chack all of loops ... what am i do ?! Web Development asp.net | |
I have the following scenario and am looking for the best way to structure things. I am finding lots and lots of conflicting advice online. [LIST] [*]I have a user control on my home page for a simple search. [*]I have a user control on a search page for a … Web Development asp.net data-structure | |
i know mail function in php mail(to,message,from,etc) but when i run that i get an error? regarding smtp or something someone told me that u need mailserver. where to get that from.also how to configure it. can u suggest a site with demo. i saw hmailsever but dont know how … Web Development php | |
Hi guys, I accidently inserted " " into one column in mysql database. Column has one char length space as it is expected after insertion. However, in php code, I can not do this: None of these returns Yes. [code] if(substr($data, 0, 1) == " "){ echo "Yes"; } if(substr($data, 0, 1) … Web Development php | |
hello Can you please tell how to create a dynamic drop down menu usin vb in asp.net with coding please Thank you Web Development asp.net | |
I am new to ASP.NET. I am using C# and .Net Framework 4. I am used to using asp classic and would like your help to do the below. I have created a stored procedure that returns four rows. Below is part of the asp.net code, which I am using … Web Development asp.net | |
I am creating buttons in a table programmatically and the click event has stopped working. I must have done something earlier in the page, as it used to work. Any suggestions as to where I might look would be much appreciated. The buttons are built into a table row, one … | |
Hi.. I got a problem with the date and time in php.. This is the story. [B]1)[/B]I want to get the date and time automatically whenever a person write onto the field that i have made(eg. the blogpost field). [B]2)[/B]Then,after i stored it into the database, i want to output … Web Development php | |
I need help with a dynamic link on my web page. This is a site where accommodation establishments register their details and upload a photo. Here is the problem I have: I have a page listing all users (user_list.php) where I retrieve details (acc_name, address, photo) of registered users from … | |
[CODE]<!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=iso-8859-1" /> <title>Simple</title> <script type="text/javascript"> function showHide() { if(document.getElementById('Checkbox1').checked) { submit.disabled=false; //document.getElementById('submit').disabled = false; } else { submit.disabled=true; document.getElementById('submit').disabled = true; } } </script> </head> <body><h3>Online Application Checklist</h3> <p><br /> <br /> Please review the following … Web Development html-amp javascript | |
[code] <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkacsoutreach" runat="server" />Acs Outreach </td> </tr> <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkaceportal" runat="server" /> Ace Portal </td> </tr> [/code] I took some checkboxes in the following way.I should get a message if atleast 1 checkbox is not checked and the values should … Web Development asp.net | |
Hi, is it possible to create the aspnetdb file in Visual Studio 2008 using the "Security" option from Web Site Administration Tool with MS SQL Server 2008 express edition? I get the following error message when I try it: "There is a problem with your selected data store. This can … Web Development asp.net sql visual-studio web-server | |
Can anyone tell me how or what's the JavaScript code to perform the following: 1. I have two frames on my web page. (Top and Bottom) 2. Top Frame is data 3. Bottom Frame are some Controls. (Print button, Back Button, Close Button.) 4. I'm using VB.Net creating aspx pages. … Web Development javascript sql vb.net | |
hi, i looking for a free software or php script that can compare a database from server 1 and beetween server 2 and creat the tables and fields that are missing. any one have know a solution? thanks for your help :) | |
[code] <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkacsoutreach" runat="server" />Acs Outreach </td> </tr> <tr> <td height="12" align="left" class="cont"> <asp:CheckBox ID="chkaceportal" runat="server" /> Ace Portal </td> </tr> [/code] I took some checkboxes in the following way.I should get a message if atleast 1 checkbox is not checked and the values should … Web Development asp.net | |
Hi I am using COM Class and loading it in browser. I am calling LoadLibrary of kernel32 but it returns me zero. I have also tried using LoadLibraryEx which gives me pointer to DLL but when I call any function of that dll it gives me Attempt to read or … Web Development asp.net | |
hi all, i followed my first AJAX tutorial on the web: [url]http://www.dhtmlgoodies.com/index.html?whichTutorial=ajax-basics[/url] the AJAX is working fine on the site itself, but when i download the source codes provided with the tutorial, it won't run from my machine. i checked this with several tutorials and all same. i.e. no results … Web Development javascript | |
Hi.. now i'm working with asp.net c#.. i want to view the data from database in the textbox in order to make editing to the data is avaiable..but i'm using user stored procedure.. now this is my code where i want to display the data.. [CODE] <tr> <td class="style1">Company Code … | |
I can show the values in a database, with a checkbox, but can't retrieve rows I checked When I submit, the only response that I get is the first row, event that I have checked everyone Here my code <table border="1" align="center" valign="center"> <c:forEach var="row" items="${parcelas.rows}"> <form> <td> <input type="checkbox" … Web Development java-jsp | |
I am trying to insert multiple rows using foreach, with no luck. I am able to insert the rows i want, however all the rows have the same value (that of the last row). This is the script i'm using: [CODE]foreach($_POST as $key=>$val) { $contaminant = $_POST['contaminant']; //$gac_value = $_POST['gac_value']; … Web Development php | |
im in a bit of a trouble i have a drop down list which contains various items,on selection of one of a item,a text box and submit button appears,for this i have used javascript and div tag.now i want to enter the no in that text box and on submitting … Web Development javascript | |
Hey guys, I am new to Wordpress and am having a slight issue. I have a "featured" posts section at the top of my index page that shows 3 recent posts from the featured category. Everything shows up fine except the post image. So I see the "post_summary" and the … | |
Hello CF coders, I am new to coldfusion and it seems very nice to use. I used to be a PHP coder, but then switch last week because i like some of the things that CF has to offer. I am currently using Coldfusion 9 with Dreamweaver CS5. The one … Web Development coldfusion | |
Hi, I have set of html pages that are installed locally on machine. I want to make ajax call to local files. In Firefox everything works fine. IE is able to load html pages through ajax call but not able to load xml document. Chrome doesn't support ajax call locally...and … Web Development javascript web-browser xml | |
I am using a web page to input data into mysql using php. I am using ajax to pull back the same data from a php file on the same web page. I click my "get data" button (it runs my ajax/php function) right after I make an update to … Web Development mysql php session web-browser | |
I have a form that is a calculates an estimate for the user. [icode] <form method="post" action="php/pricing.php"> <table id="pasa"><tr> <td>Number of Pages?</td><td><textarea name="pages" value="" rows="1" cols="5"/> </textarea></td></tr></table> Can You Provide the following content?<br> <table id="pasa"><tr><td></td><td>Yes</td><td>Some</td><td> No</td></tr> <tr><td>Pictures</td><td><input type="radio" name="pictures" value="0"></td> <td><input type="radio" name="pictures" value="25" checked></td> <td><input type="radio" name="pictures" value="50"></td></tr> <tr><td>Literature</td><td><input … | |
Ok, I have to do an assignment for cass. The teacher wants us to use a FOR loop to print out only first three variables stored in an array called $birds. How do I use a FOR loop to print out only those first three? And furthermore, how would I … Web Development php ![]() | |
this is my function which is calculating values. But if any of the values is empty it does not calculate the total payment value. if there is any simple way to calculate pls let me know [CODE]function startCalc(){ interval = setInterval("calc()",1);} function calc(){ room_charges = document.ipd_bill.room_charges.value ; lab_charges = document.ipd_bill.lab_charges.value; … Web Development javascript | |
I'm getting a runtime error on a for next loop and need: Here's my code: [CODE]<% for i=1 to Trim(UCase(Request.QueryString("print"))).Count If Trim(UCase(Request.QueryString("print"))) (i) = Trim(UCase(rsAuto.Fields.Item("vin").Value)) Then %> <tr> <td width="10%" height="45" align="center" valign="middle"><%=(rsAuto.Fields.Item("year").Value)%></td> <td width="15%" align="center" valign="middle"><%=(rsAuto.Fields.Item("make").Value)%></td> <td width="30%" align="center" valign="middle"><%=(rsAuto.Fields.Item("vin").Value)%></td> <td width="15%" align="center" valign="middle"><%=(rsAuto.Fields.Item("title").Value)%></td> <td width="25%" align="center" valign="middle"><%=(rsAuto.Fields.Item("ticket").Value)%></td> <td … | |
How can I create a function similar to Google Buzz or Facebook, where the user types an '@' symbol followed by a username which is then turned into a link? Example: Input is: "Hello, @example_user!" And the output is: "Hello, [URL="http://example.site/profile.php?u=example_user"]Example User[/URL]!" ([url]http://example.site/profile.php?u=example_user[/url]) This, I'm sure, would be simple to … Web Development php | |
I am new to PHP and really just troubleshooting a migration issue (moving from live working server to new server with this error). I'm not well versed in coding so I apologize in advance if I'm overlooking something stupid simple. Here's the error: Warning: mysql_fetch_assoc(): supplied argument is not a … | |
Hi all, I've finally gotten a handle on object-oriented programming (it took ages), and I really like it. But I'm still struggling with conceptualizing some things. For example, if I want to make a form using objects, do I make a Form class with a method like startFORM($name_of_action_page, $method), then … | |
Hi everyone, I am new to PHP and seeking some advice on any decent online courses, tutorial sites and books to help get the ball rolling. I am proficent in xhtml, css and have experience with coldfusion if this helps? Any help would be much appreciated! Web Development coldfusion php | |
hey guys , i'am just new to java EE , well i am pretty good at java SE , so please i want to know where i can start learning jsp and servlets and if there were books that is pretty simple to understand as i mentioned that i am … | |
i am new in js and i have a problem on auto click a link..after the slide show of the images i want to auto click the last image, is it possible? this code below that i have search it redirect the link without showing the image slide show.. [CODE] … Web Development javascript | |
This is form that i want to submit and send a mail to my email i have used some codes for that and it doesn't work [CODE] <form id="F2" name="F2" method="post" action="contact/send_contact.php" onsubmit="return validateForm(this)"> <div id="hedding"> <h2>Contact Details</h2> </div> <P><center><?php error_reporting(0); include("init/db.php"); $table=$_GET['hotel']; $id=$_GET['id']; $sql = "SELECT * FROM $table … Web Development php | |
Hello fellow code heads! I have issues (or so my wife says) but mine stem from the wonderful world of PHP. My web design knowledge is largely based on XHTML and that's where I left the scene. I was recently asked to delve back into the world of web design … Web Development database-design php web-design | |
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. $sql = "SELECT DISTINCT `Town` FROM '".$Table_Name."' … Web Development php | |
Its urgent I have a auction script In that bid butler is not working I have code butler.php but depends on cron I dnt know how to run cron to run butler.php each 1 min. Plz help me Web Development php | |
Hi all, i need some help to carry the data to another page..this is my code to carry the id [CODE] <ASP:HYPERLINK ID="lnkDetails" RUNAT="server" NAVIGATEURL='<%#"Company_vd.aspx?comp_code=" + DataBinder.Eval(Container.DataItem,"CmpCode")%>' TEXT="Details"></ASP:HYPERLINK> [/CODE] it works but i dont know how to use the comp_code on the other page to retrieve other data based on … | |
I had receive the above mention error I have load printer info in first combo box and when select value a event triggered and load values in second combo box using printer info but i am receiving subject mention error. [CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) … | |
Hello, What is the best hashing for password and what is the best encryption for credit card (of course we will need to decrypt it later) ? Also I would like to know, how did people usually generate salt ? I always heard about md5+salt but how did they usually … Web Development encryption php | |
did this means na sa pdng mag'search or add or delete at the same time dito sa form na 'to? such that yung entry ng user sa mga field dito is pdng ma'search din? Web Development php | |
I have a javascript test function to determine if items have been entered but it appears that the function never completes, it runs the for loop but not the items after it??? I can produce a screen capture video of the events that happen, contact me and I will send … Web Development javascript | |
Hey guys this is kind of a JavaScript question but the script works elsewhere so I have a feeling it's got something to do with the fact it's being echoed by php. Can anyone tell me why this isn't working: [CODE] if (($_SESSION['count'] % 5 == 0) && ($_SESSION['countView'])) { … Web Development javascript php ![]() | |
Hi I'm trying to develop a site that users can log into. It's all standard enough the details are being kept on a mysql database. I can add the details to the db but my code for logging in isn't working. here is my login script [CODE]function user_login($username, $password) { … | |
I made a config.php file which contains MySQL connection info. [CODE]$con = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD) or die('Cannnot connect!'); mysql_select_db(DB_NAME, $con) or die(mysql_error());[/CODE] My question is how do I add it into a class? [CODE]<?php require_once('config.php'); class users { private $id; public function __construct($id) { global $con; $sql = "MySQL script'"; … Web Development php | |
Dear Forum, I've been searching for quite a while for something which comes close to my question - and [I]freiheit's[/I] thread back in May 2010 entitled [B]'Sorting data asc and desc using a jump menu'[/B] came the closest. Whilst pointing me in the right direction, I need to take it … Web Development php |
The End.