52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Letscode

Hey, I'm new to Javascript and I have a frameset and I need to dynamically change the Sizes of each frame. How to I do that?? This is my frameset definition:: <frameset rows="8%,87%,5%" > <frame id="logo" name="banner" src="logo.aspx" noResize scrolling="no"> <FRAMESET cols="73%,27%"> <FRAME id="mainframe" name="mainframe" src="Default.aspx" scrolling="no"> <FRAMESET rows="8%,92%"> <FRAME …

Web Development java-jsp javascript
Member Avatar for parith
0
179
Member Avatar for natchattack

Another one that i cant seem to get my head around. I i need to populate a secondary dropdown box based on what the user selected in the first one. say for instance the first dropdown box contained: Dog, Cat & Rabbit. If the user selects, Dog, i wish for …

Web Development php
Member Avatar for natchattack
0
311
Member Avatar for Moderns

Hello, Please can you hint me about an easy and clear way to cache ajax response into client browser WITHOUT using the JQuery? I am unable to find that on google. I have a page that is loaded using AJAX and it takes long time to load every time (approximately …

Web Development caching javascript
Member Avatar for Moderns
0
182
Member Avatar for Sorcher

Hello peeps, got a fast question here! How can i echo out some text if the current user logged in with the username Sorcher ? Hard to explain for me, but im guessing this could be done in a few lines.

Web Development php
Member Avatar for Sorcher
0
77
Member Avatar for javanew

i have made a contact us form that emails to my email,, but the problem is that i made a text field to avoid spam machines, which says 1+1= ? , and the answer in the input field must be always 2 [CODE] if(isset($guess) == "2"){ die("Please Enter all the …

Web Development php
Member Avatar for diafol
0
104
Member Avatar for Acute

Hello every1, i'm building a site that requires logging in before accessing other pages(like facebook or any mail system). At first(in index) i create an object of my sessions class, say $session. The constructor of sessions class calls session_start() php function. $session checks if user logged in or not(maybe he …

Web Development php session
Member Avatar for diafol
0
100
Member Avatar for Pari13

Hello Developers, I am developing an web application and i need to create report using reportveiewer. I am successully able to fetch and display record in reportviewer now, But if no record found then it will disply only header with all Fields. Insted of this fields ,I want to Display …

Web Development asp.net display web-server
Member Avatar for Pari13
0
685
Member Avatar for malashukla

hello to all i am here to clear my one confusion as i am stuck in somewhere logic part. i have four tables in database : state region district circle on page load i have to show the states from the database in the form of checkboxes. and when user …

Web Development asp.net
Member Avatar for malashukla
0
90
Member Avatar for imti321

see this code [CODE]<?php $username = $_POST['username']; $password = $_POST['password']; if (isset($username,$password)) { $connect = mysql_connect ("localhost","root",""); mysql_select_db("phplogin"); $query = mysql_query("SELECT * FROM `users` WHERE username ='$username' and password='$password'"); $numrows=mysql_num_rows($query); if ($numrows!=0) { while($row = mysql_fetch_assoc($query)) { $dbusername = $row ['username']; $dbpassword = $row ['password']; } if ($dbusername=='username'&&$dbpassword=='password') { echo …

Web Development php session
Member Avatar for Zagga
0
155
Member Avatar for bh_superman

Just a couple of problems I'm working on-- can anyone help. Thanks. 1. You are making changes to an existing ASP.NET application. The application contains a DataSet object, dsProspect. The page you are changing displays prospect data from the dsProspect DataSet and includes an Update button. You define a new …

Web Development asp asp.net dataset sql web-server
Member Avatar for Shoaib Siddiqui
0
256
Member Avatar for itisnot_me

i am just learning how to code for oop and i have an error that i have not seen Fatal error: Class 'queryUpdate' not found in testingfile.php on line 28 line 28 [CODE] $queryUpdate = new queryUpdate($table, $fields, $condition); [/CODE] what i am trying to run. which is in another …

Web Development oop php
Member Avatar for R0bb0b
0
368
Member Avatar for daviddoria

Please excuse my newness. Currently I know how to execute a php script by simply naming the script [filename].php and browsing to that file on my webserver. I have also learned how to parse and display an xml file using php. What I want to do is have a .xml …

Web Development php xml
Member Avatar for P0lT10n
0
1K
Member Avatar for dennishall

Hi: I'm having an issue posting to MySQL using the animated_form.html below. My objective is to have 4 db entries posted to MySQL when the user clicks on the <a href="javascript: submitform()"><input alt="Show Results" id="btn_results" src="a_data/form_btn_show_results.png" type="image"></a> image. The form uses jquery and it produces 0 results in MySQL. Using …

Member Avatar for dennishall
0
207
Member Avatar for ivyg

Hello..ia it possible to make a crystal report using php?please help

Web Development php
Member Avatar for ivyg
0
123
Member Avatar for ckdoublenecks

can someone help with this? nothing works beyond the // *############# [CODE]<script> function $_(IDS) { return document.getElementById(IDS); } function calculate_paid() { var amtpaid = document.getElementById("amtpaid"); var rentdue = document.getElementById("rentdue"); var prevbal = document.getElementById("prevbal"); var hudpay = document.getElementById("hudpay"); var tentpay = document.getElementById("tentpay"); var datepaid = document.getElementById("datepaid"); var late = document.getElementById("late"); var …

Web Development javascript
Member Avatar for ckdoublenecks
0
122
Member Avatar for phpDave

Hi, I am trying to display multiple images on a search page. If name comes up in search so does image under same user id. It works only for one image for all names same. Example: Facebook, same name found in search but different images. I'm thinking a do while …

Web Development php
Member Avatar for phpDave
0
122
Member Avatar for Wouldbecomp

Please help me to open at html file from the server ,edit and save it, using php. The code below returns a blank page i.e. no syntax errors but no output. home.htm is the exact name of the file on the server and it has 776 permisions. $openedfile =fopen(home.htm,'r+'); //open …

Web Development file-system html-css php
Member Avatar for diafol
0
136
Member Avatar for michd77

Having a problem that I cannot seem to get over. Simply trying to do a post of an xml string to a web site. Seems to work fine, until I hit a certain size of the string, then it fails. I have searched for other methods, but am coming up …

Web Development http-protocol javascript xml
Member Avatar for michd77
0
185
Member Avatar for altarek

what is the problem? i have this message when insert? [QUOTE]Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4'', `data_no` = ''1'', `note_date` = 1293628283, ' at line 4[/QUOTE] and this is …

Web Development php sql
Member Avatar for diafol
0
165
Member Avatar for zlloyd1

I have been trying to get this directory to work properly and am about to tear my hair out!!:icon_mad: This is my code: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>Directory</title> <body> <?php error_reporting(E_ALL & ~E_NOTICE); $lname=$_POST["lastname"]; $fname=$_POST["firstname"]; $addr=$_POST["address"]; $cty=$_POST["city"]; $stat=$_POST["state"]; $zip=$_POST["zipcode"]; $acode=$_POST["areacode"]; $phone=$_POST["telephone"]; $words[] = wordCheck($lname, …

Web Development php
Member Avatar for zlloyd1
0
105
Member Avatar for HelenLF

Can anyone tell me how I would remove a substring from the end of a string. The string in question could have any one of three substrings at the end of it that need removed, so I wouldn't know in advance what the length was.

Web Development php
Member Avatar for HelenLF
0
93
Member Avatar for kristo5747

Greetings! This n00b has a "search engine" dedicated to extracting relevant information from log files. It works by parsing preset fields in the log filename. I'd like to have some notification when the search returns no rows as I am planning to add more search options. Here's my code: [CODE] …

Web Development algorithm html-css php
Member Avatar for dharmadurai
0
333
Member Avatar for atticusr5

Ok so I have been working on a little php (with my VERY brief background). The goal of the script is to take a students username and password, and then show them there grades. However when I test the script, it just falls through and redirects to the final else …

Web Development php
Member Avatar for atticusr5
0
139
Member Avatar for nikita.chandra

Hi i am using a popup calendar for my project which is in dd/mm/yyyy format and mysql database has the date format as yyyy-mm-dd, my issue is that when i insert date in the database following exception occurs : Exception foundcom.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect date value: '29/12/2010' for column 'DateOfJourney' …

Web Development java-jsp
Member Avatar for Shanti C
0
88
Member Avatar for george61

Here is a PHP code that writes a string on the bottom of a given image. I want to have the image with the string on it to be saved in a folder. The problem is that this script copies the image without the stamped text. Here is the code: …

Web Development image php
Member Avatar for pritaeas
0
172
Member Avatar for nathmaniedeo

Hi friends, I'm confused - does ASP.NET work with HTML5, or just the older versions- will this new HTML5 make some of ASP.NET obsolete...not sure I understand how it all works together? (I'm a newbie, just learning C# right now) Thanks for the help... Nath :-)

Web Development asp asp.net html-css
Member Avatar for ja928
0
122
Member Avatar for azegurb

Hi all, i have hosting in [url]www.dreamhost.com[/url] i created .htaccess file in order to hide file extension. and then i upload my .htaccess file to the server but after i uploaded this to the server this file disappeared. how can i do that this file works. can anyone help me? …

Web Development php
Member Avatar for azegurb
0
85
Member Avatar for alanlai

I'm dong a school assignment currently.It's an investment website which has interactive chart by using open-flash-chart with latest update. It's design is similar to google finance's interactive flash chart. I have obtained share price data from yahoo finance by using the simplehtmldom. Hyperlink for share price data:[URL="http://finance.yahoo.com/q/hp?s=4707.KL&a=00&b=1&c=2003&d=11&e=27&f=2010&g=m"]http://finance.yahoo.com/q/hp?s=4707.KL&a=00&b=1&c=2003&d=11&e=27&f=2010&g=m[/URL] and then present …

Web Development finance flash php
Member Avatar for alanlai
0
249
Member Avatar for SangreAngel

I am new to Java and having an issue with it. My website currently works when run on my desktop but once it is uploaded it is not working correctly. Specifically the javascript does not seem to be working once I upload it. What it is supposed to do is …

Member Avatar for sunwebsite
0
178
Member Avatar for saadi06

hi can anyone help me i am having problem with video uploading it is working properly locally but when i upload the file it gives me an error "video not found or access denied" thanx in advance

Web Development php video
Member Avatar for saadi06
0
66
Member Avatar for xuexue

hi guys, i have this program wherein the user can add freely how many textboxes he want. now my problem is that i have a class on my first textbox which is [CODE]class= "TextBox"[/CODE] then, i want to add that class name to the textbox added by the user..how could …

Web Development javascript
0
89
Member Avatar for ruwanaru

[B][B] This codes are not working here and i cant find out why is that can you help me on this (here i gave the database also problem is not in DB) [/B][/B] [CODE] CREATE TABLE `itinerary` ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(1000) NOT NULL, `name` varchar(1000) NOT …

Web Development perl php
Member Avatar for sunwebsite
0
145
Member Avatar for Moderns

Hello, I have a php application that runs on localhost perfect, but when trying to access it from internet, I get this message: Forbidden 403, You don't have permission to access / on this server. I checked Apache error log and I found this error: [Sat Aug 14 18:22:46 2010] …

Web Development apache client-server php
Member Avatar for Moderns
0
2K
Member Avatar for soso30

Hi, i tried to use the `ActiveXObject("CiscoURLProxy.URLGrabber")`, but when i run the code it gives the following : Error Type: Microsoft JScript runtime (0x800A01AD) Automation server can't create object please help me to fix it . here is a part of the code : <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> <% Response.ContentType = "text/xml"; …

Web Development javascript xml
Member Avatar for snep
0
148
Member Avatar for nikk8a

Hi, I'm trying to read a select(dropdown) box from an HTML form along with all its options. Can you please guide me as to how this can be achieved. My core requirement is to be able to read a select element with all its option and store it in some …

Web Development javascript
Member Avatar for Barrett1
0
131
Member Avatar for xuexue

hi guys, i already have the code for autocomplete.. what i want is that whenever the user inputs a certain character in the textbox the letters in the autocomplete should be emphasized, let's say, highlighted or bold. see attached example,

Web Development php
Member Avatar for xuexue
0
111
Member Avatar for RunTimeError

Hey guys, For some reason I cannot get an image I have uploaded to display when I try to render it through an <img> tag within a response.write() API Call in C#. Here is my code: [CODE=C#]protected void uploadFiles(object sender, EventArgs e) { HttpFileCollection allFiles = Request.Files; for (int i …

Web Development api asp.net image
Member Avatar for CrappyCoder
0
614
Member Avatar for jlego

currently, the company i work for has php scripts setup that update our websites inventory database using our local internal database and a few other things that run automated on a scheduled basis. the current way we have it setup is a local machine has the URLs scheduled for launch …

Web Development php
Member Avatar for pritaeas
0
172
Member Avatar for Temax

Is the anyone who can hjelp me with this code. I want to get data from a field of my table and show them in a dropdown menu. Every data I get become a dropdown of one element. I get want to get a dropdown with alle data from this …

Web Development php
Member Avatar for cossay
0
125
Member Avatar for balle

Hello, I made a PM system but the thing that makes it read isn't working. Can you take a look at it anybody? [code] $postid = $_GET['postid']; mysql_query("UPDATE pm SET read=1 where id=$postid") or die(mysql_error()); [/code] And it gives this error: You have an error in your SQL syntax; check …

Web Development mysql php sql
Member Avatar for balle
0
258
Member Avatar for Ashfaq2679

I need to add orkut like functionality on my site. When user Logs in he should see images of all of his contacts. When he clicks on an image his profile should be loaded. I need guidance achieving this. Presently I have created the hyperlink images at runtime in a …

Web Development asp.net image perl
Member Avatar for Ashfaq2679
0
161
Member Avatar for MARKAND911

How can i set my web page title as rotating. I have a page named "dog.aspx" and its title is "Dog Selection". I want this title to rotate continuously. How can i do this in ASP.net(C#).

Web Development asp.net
Member Avatar for kvprajapati
0
676
Member Avatar for ankit.pandey3

<?php require_once('upper.php'); require_once('database.php'); echo $error_msg=''; if(isset($_POST['submit'])) { $LoginId=mysqli_real_escape_string($dbc,trim($_POST['LoginId'])); $Password1=mysqli_real_escape_string($dbc,trim($_POST['Password1'])); $Password2=mysqli_real_escape_string($dbc,trim($_POST['Password2'])); $Name=mysqli_real_escape_string($dbc,trim($_POST['Name'])); $Age=mysqli_real_escape_string($dbc,trim($_POST['Age'])); $BloodGroup=mysqli_real_escape_string($dbc,trim($_POST['BloodGroup'])); if(!isset($_POST['Sex'])) { echo 'Please enter Sex<br>'; } else{ $Sex= mysqli_real_escape_string($dbc,trim($_POST['Sex'])); } $Qualification=mysqli_real_escape_string($dbc,trim($_POST['Qualification'])); $ContactNumber=mysqli_real_escape_string($dbc,trim($_POST['ContactNumber'])); $Email=mysqli_real_escape_string($dbc,trim($_POST['Email'])); $Address=mysqli_real_escape_string($dbc,trim($_POST['Address'])); $AboutYourself=mysqli_real_escape_string($dbc,trim($_POST['AboutYourself'])); //$countCheck=count($_POST['checkbox']); //echo $countCheck; //$checkbox=$_POST['checkbox']; //$countCheck=count($checkbox); if(empty($LoginId)){echo 'Please enter Login Id';} elseif(empty($Password1)){echo 'Please enter Password';} elseif(empty($Password2)){echo 'Please confirm Password';} elseif($Password1!==$Password2){echo 'Password didn't …

Web Development html-css javascript-jquery php
Member Avatar for cereal
0
2K
Member Avatar for helpplx

Hello guys, this is my first jsp thread ever so excuse me if it's a bit retarded, anyways, me and my mate are creating a webpage in .jsp , a project in IntellaJ 10.0 and we've been using apache tomcat to view the progress of the webpage but now it …

Web Development apache java-jsp
Member Avatar for Shanti C
0
1K
Member Avatar for Awah Mohamed

hello people i am new to oop , well , i am good in the normal php but i started oop today and now i am getting too many errors . check the class_lib.php bellow , it has my classes and mainly the database connectors .: [CODE] <?php class db …

Web Development php
Member Avatar for P0lT10n
0
179
Member Avatar for mcgeepj2

I am new to php (sorry). I cannot figure out how to make 'field_4' below display as a click-able URL. It is stored in my mysql db in a varchar field. Any help would be great, thanks. [CODE] $result = mysql_query("SELECT * FROM units ORDER BY `field_1`, `field_2`"); echo "<table …

Web Development display mysql php
Member Avatar for mcgeepj2
0
134
Member Avatar for xuexue

hi guys, i already have and can make a autocomplete form using jquery plugin..it works fine..but the problem now is, i want the data to be stored in the database now, and not only in a javascript file..is it possible>? could you help me? here is my code.. [CODE] <script …

Web Development javascript-jquery php
0
77
Member Avatar for atticusr5

Hello out there. I had a professor who had a login section for his course website that allowed the student to enter a unique id# and submit to get there course grade. Now that professor is no longer here but I know the page was of type .asp. Now I …

Web Development asp.net
Member Avatar for atticusr5
0
87
Member Avatar for KSS

Hi guys.. I am very new to PHP and generally in Web development. I'm trying to develop a big project and i was wondering if anyone of you can help me according to what tools should i use. At the beginning i thought Asp.net would be appropriate but after reading …

Web Development asp.net php
Member Avatar for jkon
0
125
Member Avatar for Mike516

Can anyone please give me an example of passing information FROM java to PHP and vise versa.

Web Development java php
Member Avatar for jkon
0
152

The End.