17,029 Solved Topics
Remove Filter ![]() | |
I'm trying to create a list to record student grades into the database. I'm able to pull out the names from the database and create a table with textfields in it to input the data into. This is the code i'm using for(int i = 0; rst2.next(); i++){ ....... <th … Web Development java-jsp | |
Hello... I have one curiosity that I need to solve. I hope anyone who know the problem tell me reason why is this so. I have done a php/mysql application some time ago and I encounter this problem while testing on using coding with register_global on and register_global off. I … Web Development php | |
what sql is?what can we make with SQL?do i have to know PHP BEFORE LEARNING SQL ?????? | |
Hi, I've got a problem with searching for record(s) that match the staffID in my "Staff" table in the database. I have a string named mstrSql, a txtStaffID text box and a sql statement that goes [code]mstrSql = "Select * from Staff where staffID like '" & txtStaffID.Text.Trim() & "%" … | |
First of all i'm a newbie so bear with me... I have created a form in which people submit a phonebumebr to a database, curently if they put a space in there it throws up an error. I have been told that : Never insert unsanitized data into your database. … Web Development asp microsoft-access | |
i am binding two attribute value on dropdownlist at a time let say firstname and lastname but i want to do some operation by taking only firstname from the dropdownlist but it is not happening. Web Development asp.net | |
Hi , Good Morning! Doubt : How to add a hyperlink in xml file. System: Need to plot points on a map.This points x,y coridinates a link is the information contained in the <node> tag.I use php to write this xml file by taking information from the database at each … Web Development javascript perl xml | |
ola I need to copy a file from one directory on my server to another. The thing is, if the file already exists in the destination folder, I need to copy it with a different name (i'd just like to add a 2 or something to the end of the … Web Development asp file-system | |
Hi , i had data in my server folder.can i have any way to check whether that data is image data or not in jsp?.I can do it by checking whether its extension is jpg ,gifor bmp like wise.but we can have somany formats of image data.so apart from that … | |
I am attempting to track and record information in a specific php file used where I work. The file is not my own work originally; I inherited it from my predecessor in the position. I am somewhat familiar with PHP, but not an expert. Additionally, I am still a newcomer … | |
Hey again, Im seriosly having difficulty displaying the current date and time in java/jsp. THis is the code im using to get the date and time: public static void main(String args[]) { Date date=new Date(); SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yy"); String strDate = sdf.format(date); System.out.println(""+strDate); } but nothing seems to … | |
Greetings, I need help with the javascript below. So far, I am able to pass the date through a pop-up calender and this script receives the date in format of "28 Aug 2006 11:47 PM" as a string. I then split the string and take each field for further processing. … Web Development javascript | |
For my work, I am making a web application for our intranet that will query our accounts, and based on the input, will pull out the appropriate contact's email address to send a pre-scripted message. I can't seem to find a good answer on the net, but my question is: … Web Development asp email queue web-server | |
Greetings, I need help with preselecting checkboxes in a HTML form. The first form has several checkboxes and then I post this to a php page which based on the checkboxes selected will send out emails. Each check box corresponds to an email address. After I send an email to … Web Development email first-post php | |
Hi everyone, I let a friend use a directory on my website for his art e-zine. He emailed me this morning because he's having trouble getting 2 forms with the same javascript to work on the same page. I really don't know anything about javascript, though (neither does he), and … Web Development javascript | |
Hi, Good Morning. I wanted to slice one image to tiles and i got a script for it. I did not had a photoshop so I got Photoshop CS2 Version 9.0. This script was working fine but it says error over a copy command. [code] // We make sure our … Web Development google javascript | |
My users would like to have a button to send them back to their original search results after having moved through serveral pages forward. I have already tried using [ javascript:history.back(1)] and doesnt work very well; it doesnt send be back to the seach page. Does anybody have any suggestions … Web Development coldfusion javascript | |
OK...here's the background: I want to use javascript to write a CSS dropdown menu. Since I want to be able to float the menu to either the left or the right depending on the site I am using it on, I need to grab the float value (either right or … Web Development javascript | |
Hi, What is the best way to control data displayed by a GridView when using a listbox that allows you to make multiple selections. I'm currently using a Select Parameter to control the data displayed (using the WHERE clause of the SQL Select Query), though the FilterParameter would make more … | |
here is the code, which is meant to output a string of about 50 characters made of — and , in random color for the dashes, with the dashes occurring only in pairs. I get a "0" for the final output. [code] function flow() { $ar = array( 0 => … Web Development php | |
[B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]21[/B] [B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]26[/B] [code]<? if ((!$_POST['action'] && !$_GET['action']) || $_GET['action'] == "login") { // get total member count $querycount="SELECT id FROM … | |
Hey everyone! I'm having some problems with the time being off when I use this code: [php]<?php echo gmdate("l, F j, Y g:h A",time()); echo "<br><br>"; echo date("l, F j, Y g:h A",time()); echo "<br><br>"; echo time(); ?>[/php] You can see it on my site here: [URL="http://codered.xmshosting.net/time.php"]http://codered.xmshosting.net/time.php[/URL] It should show … | |
Hello everyone: How to correct this javascript UNDER Mozilla Firefox?Or is there some fungible ways?I need your help,thx! => var divColl = document.all.tags("DIV"); Web Development javascript | |
Hi, Is there a way to set a mask on the standard ASP.NET TextBox Web control? For example, I need to mask the input and display of a telephone number "###-###-####". Thanks, Mike | |
Hi, I'm creating a page that has an ASP button that should delete a row of data from an SQL database. I want a javascript confirm window to appear to make sure the user [I]really [/I]wants to delete the information. I can set the button's OnClientClick property to "javascript:confirm('Are you … Web Development asp asp.net javascript | |
Hi, I have a GridView that displays data from a MS SQL database (duh!). I know the GridView allows you to have a command column with such functions as Edit, Update, Delete, etc., which I wish to use. The problem is that I only want these functions to be available … Web Development asp.net | |
Hey All, I am new at AJAX. I would like to make expandable popup window. So that when i do mouseover event it will expand and viceversa. But i dont know how to do it. I have one exmple to show you all so that u can get better idea … Web Development asp.net | |
lets say i have a file named test.html and i want to store all the text of this file into a variable named $email. how would i do that and be able to change few things in text with string replace command. I am just trying to make html email … | |
I have a bit of a problem. I am opening a file that has been exported from access with fopen(), reading it to a variable with fread() and then closing it. these files unfortunately have a LOT of blank lines. ex(one of them has over 50,000 blank lines). So i … Web Development php | |
Hai, i want to send mail from my localhost in php,i try to using my outlookexpress smtp and email parameters but it gives warning like this Warning: mail() [function.mail]: SMTP server response: 553 Sorry, that domain isn't in my list of allowed rcpthosts. in D:\wamp\ww It's possible to send mail … | |
My Contact form on my website [url]www.allinclusivewebdesign.co.uk[/url] does the job well. However, as the time went by, I've been thinking to make it do MORE than just a basic form, allowing me to receive the information viewers' submits (as it does perfectly well, at the moment). I wonder if anyone … | |
I have three question: 1) how can i post a variable which is an array? 2) Lets say i post declare a variable by typing: [php]$_POST['test'] = 'hello';[/php] would it transfer that variable to next page. 3) is it possible to post variable with the header command: [php]header("Location: index.php?Successful=UPDATED&hello=yes");[/php] into … Web Development first-post php | |
I fill dropdown lists values from the database then I wants to hard code first value and last value. I already hard code first value it's like this. cboName.Items.Insert(0,new ListItem("----Select----","0")); how can I hard code last value of the dropdown list, I want to add last value as a ----Other----. … Web Development asp.net | |
JavaScripters, This question is in regards to a JavaScript script within a PHP page. I included everything in case a complete understanding is required for a correct response. Thanks in advance. ****INFO**** Rater.php has a JavaScript script, which displays an interactive rating tool. It allows a user to slide a … Web Development first-post html-css image javascript | |
I am trying to get URL from address bar and store it in a variable. Anyone know how it may be done as i was looking on php.net and couldn't find any function that grab URL form the address bar. Web Development php | |
Hello, I installed PHP 5 on my Server 2003 machine with IIS and got that working properly. I want to connect to my school's MS-SQL student database, but PHP balks when it hits "mssql_connect" (or whatever the statement is). How can I set this up so I can actually connect … Web Development mssql php sql web-server | |
I keep getting this error when ever I try to update or delete a record from my site. The error that I keep getting is "The string is not closed" I have use an example straight from the book so I don't know where to go. Here is my code … Web Development coldfusion email html-css sql | |
Hello! Now I have another problem. I have successfully implemented cross-page postback with ASP.NET 1.1 using: [code] [COLOR=#0000ff]Protected[/COLOR] [COLOR=#0000ff]Sub[/COLOR] submit_Click([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR], [COLOR=#0000ff]ByVal[/COLOR] e [COLOR=#0000ff]As[/COLOR] System.EventArgs) [COLOR=#0000ff] For[/COLOR] [COLOR=#0000ff]Each[/COLOR] o [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR] [COLOR=#0000ff]In[/COLOR] Page.Request.Form [COLOR=#0000ff] Dim[/COLOR] ctlName [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String[/COLOR] = o.ToString() [COLOR=#0000ff] If[/COLOR] [COLOR=#0000ff]Not[/COLOR] ctlName.StartsWith(UniqueID & [COLOR=#800000]":"[/COLOR]) [COLOR=#0000ff]Then [/COLOR][COLOR=#0000ff] … | |
Hi, all! I've been trying to pass a javascript variable to an asp.net webapp through a hidden input field. All according to post [URL="http://www.daniweb.com/techtalkforums/thread26184.html"]http://www.daniweb.com/techtalkforums/thread26184.html[/URL]. But something seems to be garbled. Here's what parts of my aspx code looks like. [code] ... [COLOR=#0000ff] var[/COLOR] src = document.documentElement.outerHTML; document.getElementById([COLOR=#800000]"pSource"[/COLOR]).Value = src; } … Web Development asp asp.net first-post javascript | |
hellooo. i've been working with this form lately, and i cant seem to figure out how to make the success/error pages redirect to another page. any tips? [PHP]/////////////////////////////////////////////////////////////////////// //Don't edit below this point if you aren't sure what you're doing! // /////////////////////////////////////////////////////////////////////// $good = "Thanks for emailing me!"; //above is … | |
Hi all. We are into a student information system project and we want to send confirmation to student that his course is abt to start on so and so date from our website but we are unable to do so..Is it becouse of Source code problem or some connections problem … Web Development asp.net | |
All, Here is some JavaScript I found. It creates a small scrollbar, which allows a user to scroll though a series of 5 images. The images represent votes, and the user can then press a "Rate us" button in order to cast a vote. As you can see in the … Web Development first-post flash image javascript php | |
I have a form set up with 3 select lists where a user can select the date. and from there I insert it into one field in an Access database using this query. [code] <cfquery name="CheckDate" datasource="Rumors_Forms"> INSERT INTO BusTable (Name, Req_Date, Req_Time, Address, Email, PhoneNumber, Reason) Values('#form.Name#', '#form.Month#/#form.Day#/#form.Year#' ,'#form.Req_Time#','#form.Address#','#form.Email#','#form.PhoneNumber#','#form.Reason#') … Web Development coldfusion email | |
Greetings, I maintain a web page for the engineering department where I work and I was trying to make a humorous tool for the web page. Basically it is a form with three categories... Good/Fast/Cheap. Good meaning - a work product that is correct/accurate/etc. Fast meaning on or ahead of … Web Development engineering javascript web-server | |
Ok, I am using a datagrid with paging enabled. It works fine if number of pages is 10 or less. Where I am running into problem is if there are more than 10 pages An example: paging looks like this Pages 1 2 3 4 5 6 7 8 9 … Web Development asp.net | |
I AM POSTING A SECOND TIME ON THIS. I NEED SOMEONE TO HELP!!! TO TELL ME WHERE MY MISTAKE IS: THE JPEG PHOTOS DO NOT DISPLAY CLEARLY AT ALL.... CAN YOU HELP PLEASE!!! Thank-you Kindly, Puddin ____________________ This Is My User Form Is The Error Here? ____________________ <?php include 'db.php'; … Web Development first-post image php | |
this code is for a login page but i have a problem with it [COLOR=#ff0000][/COLOR] [CODE] <%@ Page Language="VB" Debug="True" %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.oledb" %> <script runat="server"> Sub LoginBtn_Click(Sender As Object, E As EventArgs) dim con as oledbConnection= new oledbConnection dim comm as oledbcommand = new … Web Development asp.net open-source | |
Is there any way in CSS (without using any JavaScript) which allows us to NOT to have scrollbars next to "certain contents" only. I'm getting my inspiration from this website: [url]http://www.tristarwebdesign.co.uk/templates/templates/infinity/index.html[/url] My very top space is for "company's logo" & I don't want a scroll bar appearing on the right … Web Development html-css javascript | |
I have tried and again I cannot figure it out. Everything is working... Only the jpg, JEPG like these do not show up correctly... Can you see the mistake? If you do please spell it out for me. Much appreciated, again, puddin. Here is my form and process photo code: … Web Development first-post image php | |
[COLOR=blue]i wrote this code in the display of a page[/COLOR] sub Display() dim strcon as string ="Provider=Microsoft.Jet.OLEDB.4.0;DataSource =Sales.mdb" dim strcommand as string ="Select * from sales" dim myconnect as oledbconnection = new oledbconnection dim myAdaptor as oledbDataAdapter = new oledbDataAdapter dim salesDS as DataSet = new DataSet myconnect.ConnectionString=strcon myAdaptor.SelectCommand=new oleDbComman(strcommand,myconnect) … Web Development asp.net dataset open-source |
The End.