17,029 Solved Topics
Remove Filter ![]() | |
hi everyone, I've written some code that displays information from a database. However, I added more code that would display a "no records found" message, should the area be blank. The code displays the records perfectly, however if there are no records returned it doesn't show the "no records found" … | |
Hi, I need to create a function to shorten a numerical ID to a string of letters E.G. [code=php] echo encode_num('1'); //Outputs a echo encode_num('3'); //Outputs c echo encode_num('26'); //Outputs z echo encode_num('27'); //Outputs A echo encode_num('52'); //Outputs Z echo encode_num('53'); //Outputs aa echo encode_num('54'); //Outputs ab [/code] etc. But … Web Development php | |
hello, I have this form which has 4 fields that must not be empty on submit, I been trying to make an array that checks them. [code] <form action="login.php" method="post" onsubmit="return(checkAll(this))"> <label>Username<br /><input id="input[]" type="text" name="username" /></label><br /> <label>Email<br /><input id="input[]" type="text" name="email" /></label><br /> <label>Password<br /><input id="input[]" type="password" name="pswd1" … Web Development javascript | |
[code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using System.IO; public partial class Default4 : System.Web.UI.Page { SqlConnection db = new SqlConnection("database=bank;server=.;uid=sa"); protected void Page_Load(object sender, EventArgs e) { Panel1.Visible = false; } protected void … Web Development asp.net web-server | |
Hi All, I am storing my automation results to sql server and the displaying the results in asp page. one of result coulmn is for error images(is test case fails it capture the image , for refrence of what went wron during playback) stored in local machine or QA server. … | |
Let's say I have an HTML form and there is a group of radio buttons. A need different script to be run depending on which button is checked. Let's say I have this: [CODE]<input type="radio" name="invtype" value="product"> <b>PRODUCT<b> <p> <input type="radio" name="invtype" value="software"> <b>SOFTWARE<b> <p> <input type="radio" name="invtype" value="service"> <b>SERVICE<b> … Web Development php ![]() | |
the problem I am having is in getting my page to produce an expected delivery date. The calculation function is working fine. I want to use the same id to figure out when the product will be delivered. I know my second set of if statements is wrong but I … Web Development javascript | |
I have a validation function and the this is the last thing it does. [code = var mytext=document.getElementById("sizip") if(check5(mytext,"Zip Code must be 5 digits.")==false) {mytext.focus();return false;} function check5(mytext,alerttxt){ var re5digit=/^\d{5}$/ //regular expression defining a 5 digit number if (mytext.value.search(re5digit)==-1) //if match failed alert(alerttxt);return false; ] It will validate ok, if … Web Development javascript | |
When you add a page in CMS (Like Wordpress' admin) what does it actually do? Add predefined table? Or what? Thanks! | |
Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, … Web Development first-post javascript php xml | |
I am using Visual Studio 2008 SP1, ASP.NET, and VB.NET. I am using a wizard, and in order to affect the controls inside it, I have to declare them in each method like so: [CODE] Dim txtbox1 As TextBox = wizard.ContentTemplateContainer.FindControl("textbox1") [/CODE] Which works fine, but sometimes I need to … Web Development asp.net vb.net visual-studio | |
hello, i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this Web Development php | |
Hi all, I have seen code of the form: [code=php] if(file_exists("foo.php") include("foo.php"); else include("blah.php"); [/code] As far as I know, this is perfectly legal in php. What I was wondering was is it possible to do the following in in-line code in PHP? [code=php] if(file_exists("foo.php") // contains a specialised version … Web Development legal php programming-construct | |
Hi i am new to ajax and i am little bit confused with the word asynchronous. why is the word asynchronous used for ajax? what is it not in sync with? somebody pls expalin me why the word asynchronous? and how is it justified in ajax? Thanking you in advance. Web Development javascript | |
I have two HTML pages, each has a form. The user is supposed to fill out the input fields in one, then click a submit button that will send him to the next page, where he would fill out the rest of the fields of his questionaire, click a submit … | |
ok i can post the script if you guys want its kinda on the large side mostly i just need to bounce some ideas off you i made a event calendar and now i am making a script to email users of the current months events i have this working … | |
I'm not really sure which forum this belongs in, but please bear with me as I try to explain what I am looking to do. I have a PHP web site designed to display status updates from several dozen computers around the world. Up until now an administrator updates a … Web Development c++ file-system php web-server | |
I have developed an RSS Feed in php. (can be found at [url]http://www.mofikiworldwide.com[/url] by clicking the rss icon in the top right) My reason for using php to develop the feed was so that I wouldn't have to manually update a feed in an xml file everytime I needed to … | |
hi... im using a word editor in my app..i want to save all the data in the word editor to be saved in microsoft's word. does anybody have a code to create and save the data into the word doc. automatically? like when i click a button, it should automatically … | |
Hi all, I want to do simple query to do the Join Here is illustartion of my query which gives error [CODE=SQL]"SELECT * FROM table1, INNER JOIN table2 ON table1.colx = table2.colx LIMIT 30"[/CODE] What goes wrong here? Web Development php | |
Okay I have an issue....I have two things I want to happen on the same page....I have a slide in menu (Jquery contact form) where people can write me an email and a FancyBox gallery.. But these two javascripts wont play nice...if both are enable as they are now, The … Web Development javascript javascript-jquery | |
Hi All, This should be an easy one. I am using a single OnChange event with several <Select> statements, and need to identify the specific <Select> control that fired off the onchange event. I'm certain there must be a way to grab the ID or Name from the specific control … Web Development javascript | |
Hi there everyone. I have a problem with the JavaScript code for my aggregates workings for my course. I have worked out with some help how to input a number, click a button and get the number to appear in a listbox. I also had to get the Reset button … Web Development javascript | |
Hi Im new to OO PHP, been reading through my book and in one example they are using a class structure in a shopping cart. I have used session variables in the past for shopping carts, can I assume that if I create a class, which has a cart_contents array … Web Development data-structure php session | |
Hi, I am building a cinema booking system in ASP/VbScript with MS Access. I would like to display the records from the recordset in form of: [-----STAGE-----] [B] [x] [x] [x] [x] [x] [x] [B] [x] [x] [x] [B] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] … | |
hi guys, need your help on this..any ideas is greatly appreciated..i got this form mailer from this site: [url]http://www.dtheatre.com/scripts/sour...e/formmail.txt[/url] but how to configure in php the form mailer that if in my form got two options (like the code below) that if the user choose this particular option then it … Web Development php | |
[URL="http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.socialemo.com%2Frss.php"]http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.socialemo.com%2Frss.php[/URL] that is what the error is my basicaly exact code is: [URL="http://www.ibm.com/developerworks/library/x-phprss/"]http://www.ibm.com/developerworks/library/x-phprss/[/URL] how do i get it to work? Web Development xml | |
Hi all. First off this is my first interaction with jquery (and I hope this is the correct forum to put questions about this in, if not might a mod take the liberity of moving it to the correct forum?), so apologies if I'm overlooking an entire room made of … Web Development javascript javascript-jquery php | |
I need a help with php i have a query it generate result that list of cars and i want is divide in to pages here im giving the table structure and the php file can help me on this [B]Table Structute[/B] [CODE] CREATE TABLE IF NOT EXISTS `cars` ( … Web Development data-structure php | |
In this db and query are working and the firs page but after the 2nd page the variables are not passing can any one help me on this [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=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include("../init/db.php"); … Web Development php | |
![]() | I have a form with multiple SELECT drop-down menus. Each menu can submit the form using the onChange function. How can I determine which of the drop-down menus was used to submit the form? Example: [CODE] <form method="post" enctype="multipart/form data" action="submit.php"> <select name="one" onChange="submit()"> <option value="1">1st choice</option> <option value="2">2nd choice</option> … Web Development javascript |
Hi All, I have 6 fields (3 on the top) and (3 on the bottom). The 3 on the top are: Current email: New email: Confirm email: <Submit> <Cancel> Current password: New password: Confirm password: <Submit> <Cancel> Also each one has a required field validations. Now if someone fills the … Web Development asp.net | |
Hi. I am new to this site so I hope you will all be able to help me with my problem. I am just starting to learn JavaScript so any help/feedback would be greatly appreciated. I have to make a form that if you put a temperature in a textbox … Web Development javascript | |
hi.. im having an issue with a table's border..im dev. an asp.net website,in which im retriving some images from the database & showing them into a datalist. i hv used 18 datalists in a table for the proper alignment of the datalists & images. now, my problem is, when i … Web Development asp.net | |
i m updating 3000 records in on query after few sec.. page shows network timeout...!! how to get rid of it.. thanks Web Development php | |
I am trying to create a page that will look up values from a table to fill in drop down boxes, i have this working. Now when the user selects options and presses a button i would like these values to get written to a table. This code is my … | |
Hai I have some html files and i would like to display them in a random manner using the php. can any one help me out..I have been trying this one.. but it is not working.. [CODE]<?php $dir="./clock/"; $nimg="10"; $itype="html"; $rnumb=rand(1,$nimg); echo "<a href=".$dir."clock".$rnumb.".".$itype."></a>"; ?> [/CODE] | |
hi every body, i am sure its not that much hard but somehow i stuck in situation which look very much unclear to me. in fact i have a table through i am selecting different records each records will be printed with the checkbox what i want to insert checked … Web Development php | |
Hello All, I work on PL/SQL web applications with oracle Application Server. I wish to start using some of Ajax features in my applications. Do I need to perform any application/db server side configuration changes to accommodate Ajax implementations? Your suggestions will be of great help to me. Thanks in … Web Development javascript oracle web-server | |
I retrieve three pieces of data from my MySQL table and need to pass one of them as a parameter in a link to a dynamically populated .php page and two of them use as the link text. The echo statement below is not working. Could you please see what's … Web Development php | |
The name of this question is “three JSF questions” Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans,MySQL,glassfish [B] The Purpose of this post is: [/B] have someone look at the excel file (subscribe_app_notes2)at : [url]http://cid-b5cb457363230793.skydrive.live.com/browse.aspx/Public[/url] [B] The functionality of this code is: [/B] I … Web Development java-jsp java-netbeans oracle xml | |
Design an oracle for the following JavaScript function. 2. Generate a test case set for this function and provide a coverage analysis report for your test case set. The JavaScript function: [CODE=javascript]function purchaseSong(username, password, songId) { // first authenticate the user if (checkCredentials(username, password) == false) { alert('The username or … Web Development javascript oracle | |
i am trying to make a page that able to search the data that store in the sql database, i would like to have a field search which enable the user to choose the field they wan to search. the problem i facing is i dunno how to submit the … | |
clienthint.js [CODE] var xmlhttp; var parameters=""; function showHint(url) { var myform = document.forms[0]; if (myform != undefined) { parameters = getRequestBody(myform); } if (url.length == 0) { document.getElementById("txtHint").innerHTML = ""; return; } xmlhttp = GetXmlHttpObject(); if (xmlhttp == null) { alert("Your browser does not support XMLHTTP!"); return; } xmlhttp.onreadystatechange = … Web Development javascript | |
Hi I am wondering if i can move a field (with contents) from Table B to Table A. If so how can i do it? Any advise ?? Thank you very much.. Web Development php | |
hi there, i am making a website. my problem is that, i have multiple users who should access the same page, now what i want is that, my login code will work whenever users will access it simultaneously. the problem is that, the code just checks the first logged in … Web Development php | |
This is the error [CODE]Warning: Cannot modify header information - headers already sent by (output started at /home/rejocoma/public_html/login-registor/do_login.php:9) in /home/rejocoma/public_html/login-registor/do_login.php on line 40[/CODE] and this comming only on my hosting not in local machine ita unix hosting solution can any one give me a help on this im a new … | |
Hi !! i faced problem with javascript. When I call function change() it applies only second element that is link2. I wanted when i click the link, the link name must appear to textfield.can anyone help?? here is code: [code=html] <html> <body> <form> <a id="static" href="staticContentAdmin.ioml">link1</a></br> <a id="static" href="staticContentAdmin.ioml">link2</a></br> <input … Web Development javascript | |
![]() | Hi All, I have the following code: [CODE]$requester_email = $_POST['requester_email']; $requester_name = $_POST['requester_name']; $todays_date = $_POST['todays_date']; $Start_Date = $_POST['Start_Date']; $End_Date = $_POST['End_Date']; $Department = $_POST['Department']; $No_Engineers_Required = $_POST['No_Engineers_Required']; $Prefered_Engineers = $_POST['Prefered_Engineers']; $Customer_Name = $_POST['Customer_Name']; $Location = $_POST['Location']; $Type_Of_Job = $_POST['Type_Of_Job']; $Job_Ref_No = $_POST['Job_Ref_No']; $Additional_info = $_POST['Additional_info'];[/CODE] The help I need … Web Development php ![]() |
HI! I am trying to find a way to plug some data that is spit out of a mysql query into another mysql query. example. [CODE] $zip1 = $_POST[zip1]; "SELECT * FROM zipcodedb WHERE ZipCode >= '". $zip1 ."'" [/CODE] lets say i get that query to spit out these … |
The End.