17,029 Solved Topics
Remove Filter ![]() | |
hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my … Web Development php | |
I need a code that hides the content when clicked and reveal them on demand using javascript. This is in webdesigning anyone to help Web Development javascript | |
Hi, Javascript below doesn't work. It always retuns false. Where is mistake? thanks [code] <script Language="JavaScript"> function validateAreas(){ if (document.form1.selectS.value=="") { alert("Please select a S"); form1.selectS.focus(); return false; } return true; } </script> <form name="form1" method="post" action="" onSubmit="return validateAreas();"> ..... <select name="selectS"> <option selected="selected"></option> <?php $q="SELECT id FROM spp"; $run=mysql_query($q); … Web Development javascript | |
Hi, I'll create a Login.php page to check uid and password and let user login to the system. Now, do i check uid and password in same Login.php or i post uid and password to next page to be checked there? What is the best way? Thanks Web Development php | |
hi all; I have a problem in diplaying the city name. pleas cheack the line of this code. [QUOTE][CODE]$result=city::getDisplayName('$id'); echo $result;[/CODE][/QUOTE] Web Development php | |
in my [B]jsp [/B]form , there is one dropdown list , if select one particular list item have to open new pop up window which doesn't have any menu's, address bar etc., [B]upto this i completed using window.open()[/B] [B] i got problem from now[/B] but when i fill the textbox … Web Development javascript | |
Can anyone tell me why this code isnt working? [CODE=php]<?php $username = $password = $database = $email23 = $_POST['email']; $con = mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = "SELECT * FROM `user_user` WHERE `email` = '$email23'"; $query = mysql_query($sql) or die('Error: ' . mysql_error()); $r = mysql_fetch_row($query); … Web Development php | |
Hi, I am a new bee in PHP , I have a asignment to write a online polling script. Can u please help me get the script to refer and write a fresh code as per my requirement Web Development php | |
i am trying to print an array list in a jsp page like this: [CODE]<body> <FORM METHOD="POST" ACTION="index.jsp"> <input type="text" name="text" value="" /> <input type="submit" value="add" /> </FORM> <jsp:useBean id="tomer" class="java.util.ArrayList" scope="session"/> <jsp:useBean id="r1" class="java.util.Iterator" scope="session"/> <% if (request.getParameter("text") !=null) {%> <% tomer.add(request.getParameter("text"));%> <%}%> <%r1 = tomer.iterator();%> <%while(r1.hasNext())%> <%{%> <%r1.next();%> … | |
I am new to JSP. Please guide me which e-book or book should I read so that I can learn from basics to advance skills and develop a web site by own. Please help..! Web Development java-jsp | |
Hi, here is the code for page navigation, its working fine but , if there are 4 pages , each page is displaying 3 records per page, if we go to 3rd page, and click on the subject it will display the contents but it will automatically come to the … Web Development php | |
Hi all, I have a registration form on my website which once filled in, it sends an email to the user with a link to "verify their email address". This link holds all of the information entered by the user in the form and looks something like this: [url]http://www.example.com/confirm.php?firstname=john&lastname=smith[/url] When … Web Development php | |
Well my site is a music lyrics site, and included an option to embed youtube videos with each lyric added. It came with one lyrics, which you can see here. On the left of this page, the youtube video fits in a box. [url]http://music-and-lyrics.info/index.php?lyric_id=1[/url] Now I added a new lyric … | |
As far as I know, I have successfully completed all config files so the site should load, but for some reason, the site doesn't. Here is the error message I get instead. [CODE]array(3) { [0]=> array(4) { ["file"]=> string(74) "/home/imedia/public_html/music-and-lyrics.info/functions/main.function.php" ["line"]=> int(10) ["function"]=> string(10) "mysqlQuery" ["args"]=> array(1) { [0]=> &string(20) … Web Development php | |
have anyone ever creates navigation buttons such as next,previous in coldfusion? can i see ours if you have created one? Web Development coldfusion | |
I use Win XP+IIS 6.0.I have deployed a web site in my local IIS and when tried to access it from another system in my network it is throwing 'Page cannot be displayed' error.I have given read and execute permissions to that remote login credentials. Please help.. Web Development asp.net | |
I am trying to use ajax to 'embed' a youtube video on page. I make my calls and put the responseText to the innerHTML. But the embed object does not appear. I have verified that I can write to the div tag by ID (I pumped some straight text into … Web Development javascript video | |
Hi, I retrieve all students from database with adding submit buttons along with them. For example; when i click on 3rd student’s submit button, it gives me information of last retrieved student. How can solve this problem? Note : All action is in same page. Thanks [code] <?php while ($myArray … Web Development php | |
i have two text boxes with two date pickers. One text box and date picker for start date and another two for end date. First the values of two text boxes are current date.If we select a particular date using date picker the value will be changed corresponding to that. … Web Development javascript | |
The code below gives me "Warning: Wrong parameter count for mssql_bind() in" [CODE] $action="L"; $M_ExhibitionID=$_REQUEST[M_ExhibitionID]; $areaid=1; $LngCode="el"; $sproc=mssql_init( "sp_php" ); mssql_bind($sproc,"@action",$action,SQLCHAR,false,false); mssql_bind($sproc,"@M_ExhibitionID",$M_ExhibitionID,SQLINT4,false,false); mssql_bind($sproc,"@areaid",$areaid,SQLINT4,false,false); mssql_bind($sproc,"@lang",$LngCode,SQLVARCHAR,false,false); $GET_EXHIBITS=mssql_bind($sproc); [/CODE] what is my wrong? | |
anybody have a browser compatible html entity decoding function? Web Development html-css javascript | |
Hello I'm new to PHP, here's what I'm haveing trouble with. I'm using php to display a gallery in a directory and delete the images, but I get an error when I try to use the delete button and I don't know why or how to fix it, can anyone … Web Development php | |
Hi all and thanks for reading. I have a simple script that works in IE and Safari, but not FF. Basically when I click a button I want an image to appear dynamically via JS. This is what i've got (watered down) [code] **JS function called Contact** var loadingImg = … Web Development javascript | |
Hi, I have spent hundreds of hours fixing errors with my phpauction GPL V2.51 script I bought. A lot have been cosmetic but this one is causing onscreen errors and making the page extremely slow to load. To cut a long story short, if the thumbnail image a customer is … | |
Hi all, [code=php] $selcount = "SELECT * FROM autoalto_mail as a1, autoalto_contractor_sentitems as a2 where a1.flag=a2.flag='1' " ; [/code] Web Development php | |
Hi, I have a form with 3 submit buttons. This is what i want; Click on button1, form action becomes 1.php Click on button2, form action becomes 2.php Click on button3, form action becomes 3.php I dont want to enter action manual. How can we do this? Thanks Web Development php | |
[url]http://www.visualbuilder.com/jsp/tutorial/pageorder/13/[/url] I got the code from this place, however, when I try to run it, it doesn't work. I am new to JSP, just trying to learn the basics , but I can't even get correct info from the website. A friend altered the code for me like this, although … Web Development java-jsp | |
Hi; The below jsp page is compiling fine but executing it shows error as[B]javax.servlet.ServletException: java.sql.SQLException: Column 'Total' not found.[/B] [CODE] <%-- Document : evaluationeventtable Created on : Jul 24, 2008, 6:52:37 PM Author : user1 --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ page language ="java" %> <%@ page import="java.sql.*, javax.sql.*, javax.naming.*,java.io.*,java.util.*" %> … Web Development java-jsp | |
can any one tel me what is reason behind this error??? Fatal error: Call to undefined function: imagecreatefromjpeg() in D:\web\test\thumbnailcode.php on line 18 and i have already installed GD library in my system... thanks .... Web Development php | |
I've a mySQL db with two tables - advertisers and category. If the advertiser is active, I'd like to have the category name appear, with all active advertisers below, and then the following category, etc. Right now I'm testing and have everything active. Quick structure on tables are [B]advertisers[/B] contains … Web Development data-structure php | |
Is the where clause is correct....... [code=sql]$query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."' AND where flag='1'";[/code] I am getting this error after executing this statement. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\demonew\contractor_trash.php on line 220 Web Development php | |
Sorry, me again. Is it possible to help me with being able to sort by clicking on column headers. And the code again: [code=php]$query = "SELECT firstname, lastname, pilotid1, pilotid2, COUNT(flight_time) AS flights, SUM(block_time) AS block, SUM(flight_time) AS ftime, MAX(date_of_flight) AS date FROM members, pireps WHERE members.pilotid1 = pireps.pilotid2 GROUP … Web Development php | |
Hi there, am new to php and i have been trying to upload files from a form to a location on a server ( folder "uploads" on the server), the syntax and everything i am using is right cos i tried using just a form but when ever i use … Web Development file-system html-css javascript php session video | |
ok guys is there any way to submit a form to a number of pages at the same time? can we provide a number of urls instead of just one action attribute? one form send the same info to different pages. i mean something like an email, but it is … Web Development php | |
I'm trying pull up data from database, and display it on a table. I used this code before but for some reason it won't work here. Any suggestions? Thanks! It says the error is this line: [ICODE]<?php while ($list = mysql_fetch_assoc($result)) {?>[/ICODE] The error message is: [B]Warning: mysql_fetch_assoc(): supplied argument … Web Development php | |
I've been lurking on DaniWeb for a while now and have finally got round to registering, particuarly after realising it had a Ruby forum. I've been playing with Ruby for a couple of months now and am in love with its common sense approach to programming, and makes the likes … Web Development ruby | |
Hello, In a spam message I always see my own email address in the to: field. How do they do that? They must use the bcc: field to send out the emails. So why do I see my own email address in the to: field? I would like to create … Web Development php | |
Very new to this. I've set up a MySQL db with two tables. Structure is table_ads with fields id, category_id, name, sort_name, img1, img2, and active table_categories with fields id, category The goal is when page is loaded to have all active (true) names from ads fall below the category … | |
Hello , I created link to admin/admin.jsp I want to create a link to index.jsp in admin page Mysite___ |___index.jsp |___admin/ |___admin.jsp Web Development java-jsp | |
Hi, I'm having trouble getting this to run. basically I'm trying to get a table to display miles per gallon into liters per 100 kilometers in increments of 10. Every time i run it though, it just displays the table header without any results. Any advice would really be appreciated … Web Development php | |
Hi the situation is, My database is online. On one system i have my asp.net project (as a server). i need to access this site in LAN. Means from anywhere i access site the database is live. Am i right..!! Now the problem is I am unable to access the … Web Development asp.net windows-server | |
Hello people! I need ideas about how to randomly generate a set of integers - a set of 16 on 40 rows. I had tried the Randomize function on the .net framework but has not been successful. Any idea woud be appreciated Web Development asp.net | |
Hey there, I need help with something... I need to create 2 .jsp pages, one with a textbox in which you submit a name, and the second one should display it when you i click the submit button...but i cant seem to get it right =S this is what ive … Web Development java-jsp | |
hi all, i need a code for date comparision,my requirement is first we have to enter start date and when we enter end date it should check whether the date is greater than the start date or not if it is greater only it should alow otherwise it shoud alert........ … Web Development javascript | |
Is there something special i need to do to get this to work? I made a script that builds a neat little table with pictures from the sql database, and want it to go into an iframe. When i run the code I get this: (screenshot) [url]http://www.freewebs.com/xylude/helpme.jpg[/url] It just shows … Web Development php | |
can u plz send me the code for rating of photos(hot or not code) Web Development php | |
Hi here is my code......i want page navigation for this code......i have the page navigation code but i dont know how to incorporate it please help me........ [code=php] <?php session_start(); include('database.php'); $result = mysql_query("SELECT * FROM autoalto_mail" ); while($row = mysql_fetch_array($result)) { ?> <tr> <td width="5%"></td> <td><? echo $row['From_user'];?> <td><a … Web Development php | |
Hi frnds.. This is Kishore,i need the code of posting the values of selected checkbox to the mail. So,plz send the code asap. here i am attaching the two files plz verify it and send the correct code without bugs. File Names: 1.request.php 2.requestsubmit.php Thanking You... Kishore | |
Hi all, i have written delete operation.......but its not deleting...........here is the code.......can u explain me whats wrong [code=php] <? session_start(); include('database.php'); $mailid1 = $_GET['mail_id']; session_register("mailid1"); $query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."'"; $result = mysql_query( $query1 ); while($row = mysql_fetch_array($result)) { echo $row['subject']; } mysql_close(); ?> </b></td> <td align="right" colspan="3" … Web Development php | |
Hi, my adduser.jsp page consist of form with field username,groupid like. I am forwarding this page to insertuser.jsp. my aim is that when I submit adduser.jsp page then the field filled in form should insert into the usertable.The insertuser.jsp is like: [code] String USERID=request.getParameter("id"); String NAME=request.getParameter("name"); String GROUPID=request.getParameter("group"); InitialContext context … Web Development java-jsp |
The End.