52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pritesh2010

can any one tell me how to get the seleted submenuitem value of menu in textbox. like foe eg this is my menu Home Course -Commerce -Science i want when i select science in menu control then textbox should me the Science. any one help me i'm apppriciate. :) thank …

Web Development asp.net
Member Avatar for pritesh2010
0
360
Member Avatar for whiteyoh

Hi All, the following script works fine and updates with no issue, except on, wait for it..... Internet Explorer!!!!! Any advice would be appreciated. [code] <html> <head> <script type="text/javascript"> function showUser(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

Web Development php
Member Avatar for liamfriel
0
109
Member Avatar for sajidk25

Hi every on.I new in php.I m trying to insert date from 3 dropdwon to my date table.It is working well but in table the date is showing always 00-00-0000.plz any one give me a solution.My scripts are followings: [CODE]//table -- Table structure for table `date` -- CREATE TABLE IF …

Web Development php
Member Avatar for cwarn23
0
93
Member Avatar for deeptakshd

in my web page i am having different hyperlinks for letter a to z and now i want to display all the details in gridview of the names starting with particular letter in my db table on clicking of hyperlink.. plz help its urgent..........

Web Development asp.net display perl
Member Avatar for Abdul Rouf
0
120
Member Avatar for suryakantb

Most of the times we have requirements of adding different client side validations on the web pages and the easiest way to achieve this in ASP.Net is to use the existing set of validator controls. In SharePoint when we design custom webparts which takes some data as input, we might …

Member Avatar for suryakantb
0
207
Member Avatar for k2k

trying to call an external ajax function to exec the php script to update a table. it is somehow not working.. it is my first time programming in ajax, please point it out if there is anything obviously wrong. thanks. [code] <html> <head> <script>myAjaxFunctions.js</script> </head> <body> <button type="button" onclick="clearT1();">Clear TableOne</button> …

Web Development javascript
Member Avatar for Graphix
0
464
Member Avatar for upstream

Hey guys, I was working on embedding image using the object tag with quicktime. i was succesfully embed it [COLOR="Red"]but it seems like i cannot display the playback controls (like "play","pause","stop" etc)[/COLOR]. Here's my code: [CODE] <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="478" height="383"> <param name="src" value="movie.mov" /> <param name="autoplay" value="false" /> <param …

Web Development apple display javascript
Member Avatar for upstream
0
117
Member Avatar for shubhamjain1

I am thinking to make a PHP library for better syntax of PHP (in functions). Currently I feel that its too clumsy and unorganised. There are many functions without any use and many useful functionalities can be added to older ones. Like instead of learning all GD functions for common …

Web Development php
Member Avatar for Jothe
0
97
Member Avatar for maria_mj

I have a problem. In my page, there have 3 gridview. Every gridview has sub total displaying at its footer. I am able to display the sub total for each gridview at its footer. But, i want to display one more total that is grand total. The value for the …

Web Development asp.net
Member Avatar for rohand
0
264
Member Avatar for jlhwebgal

Hello, I am using this script to rotate background images and it is working great HOWEVER we would like to control the order of the rotation and I am just not sure how to modify this code to do that? I have looked and tried several options but I am …

Web Development javascript
Member Avatar for fxm
0
141
Member Avatar for Designer_101

Hi Is there any way using PHP to delete everything in the public_html directory? Or even better everything on my server? Im trying to impliment a backdoor into one of my websites as Im working with another developer I really don't trust much. Thanks

Web Development html-css php
Member Avatar for digital-ether
0
133
Member Avatar for nikesh.yadav

I m working on advertise website for that i need to select random values from the database so please help me Thanx in advance

Web Development php
Member Avatar for anupam294
0
131
Member Avatar for dalip_007

I want to select a single column from a table but cannot use "mysql_result" query. is there any other way to output the data of that specific column? Thanks in advance.

Web Development php
Member Avatar for vaultdweller123
0
70
Member Avatar for maria_mj

I want to retrieve session value(username) from the login page. I have to verify the user by their username to make the access right control for certain page. In my application, i want to control the access right to "ViewAllProject.aspx" page. I have save the username in session in login …

Web Development asp.net open-source session
Member Avatar for maria_mj
0
235
Member Avatar for MDanz

I am passing data from a textarea to a div with javascript. The problem is the div is ignoring line breaks. [code] document.getElementById('layer1').innerHTML = document.getElementById('reply').value.replace("\n", "<br /><br />"); [/code] e.g... i entered this in the textarea test1 test5 test6 the result was in the div test1 test5 test6 the div …

Web Development javascript
Member Avatar for fxm
0
107
Member Avatar for shadiadiph

Still trying to get my head around some simple javascript issues the following works in php but not in javascript can someone point me in the right direction obviously my code is wrong. [code] if((dobyear==false) && (dobmonth==false) && (dobday==true)) { return 'noyearmonth'; } [/code] thanks

Web Development javascript
Member Avatar for fxm
0
136
Member Avatar for mikeandike22

Hello I am writing a script that will replace the src of an image when the user hovers over it. I am using jquery and regex to accomplish this and have tested it on my local server but the src of the images on the live server is different and …

Member Avatar for fxm
0
114
Member Avatar for andymelton

I have been studying PHP/MySQL on and off again for the past few years and I decided the only way I was going to learn it was to create my own web application. We're going on a road trip in a few days and I got the idea to create …

Web Development html-css php web-server
Member Avatar for andymelton
0
146
Member Avatar for justinmyoung

Hi I'm trying to integrate a google checkout button with a basic php variable - and am having trouble with formatting. Here is the code: [code=php] echo "<h2>" . $row['name'] ."</h2>"; echo '<form action="xxx" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_top"> <input name="item_name_1" type="hidden" value="Item"/> <input name="item_description_1" type="hidden" value="Watch Repair Service"/> <input name="item_quantity_1" …

Web Development google php
Member Avatar for justinmyoung
0
164
Member Avatar for jb00786

The JS starts with: <script> var tblId = 'TBGenericRecs0'; var nTable = ""; then later: function mapTable(){ nTable = document.getElementById(tblId); nRows = nTable.rows.length; Firefox says nTable is not a function and the code does not work. IE sees it as a variable and it works. What's up? Is there a …

Web Development javascript web-browser
Member Avatar for jb00786
0
192
Member Avatar for BTW8892

So i have a system, and i was creating a page to input player stats. However there are 5 rows that have be inserted per game from a single form. I have the code for the form and the insert code. I was just wondering if someone could help me …

Web Development php
Member Avatar for plantf7**344
0
138
Member Avatar for tokenjoker187

I am trying to use the session start function but everytime I try to use it, it gives 2 errors: [QUOTE] Cannot send session cookie - headers already sent by (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12[/QUOTE] [QUOTE]Cannot send session cache limiter - headers already sent (output started …

Web Development ide php session ubuntu
Member Avatar for tokenjoker187
0
186
Member Avatar for peck3277

Hey guys, I hope someone can help me with the idea behind this. I'm setting up a website in which members can have their own personal profile which displays all their information. I have 8 items that I want users to be able to make private or public. So in …

Web Development php
0
70
Member Avatar for azegurb

hi all, i have one question about variable in JavaScript [CODE]<HEAD> <TITLE>Window Opener and Closer</TITLE> <SCRIPT LANGUAGE="JavaScript"> var newWindow function makeNewWindow() { newWindow = window.open("","","HEIGHT=300,WIDTH=300") } function closeNewWindow() { if (newWindow) { newWindow.close() newWindow = null } } </SCRIPT> </HEAD> <BODY> <FORM> <INPUT TYPE="button" VALUE="Create New Window" onClick="makeNewWindow()"> <INPUT TYPE="button" …

Web Development javascript
Member Avatar for azegurb
0
118
Member Avatar for muralibobby2015

hello.. i want to do custom cursor in particular place in my webpage. i have number of images when mouseover on images then cursor image change as a custom cursor. how to do ?

Web Development display php
Member Avatar for muralibobby2015
0
92
Member Avatar for ksmadhuri

hi, i had done validation in my program...it is validating and entering the values also...the problem is if i m giving the same value which is in XML file...it is taking not showing any error...can any one check my code and suggest me the solution..2day evening is submission of my …

Web Development javascript xml
Member Avatar for fxm
0
81
Member Avatar for iThaos

Hi, I have pretty just started javascript and I have to say it is the hardest language to learn probably due to the lack of official documentation or something like that. If someone can point me in the right direction for documentation, that'll be great. On the other hand, php …

Web Development javascript
Member Avatar for iThaos
0
174
Member Avatar for sastudent

Me again (Huge Project...) This is the code for my image upload, but it is not working... I also want to set some parameters such as file size and to make sure that only photos are uploaded. The tutorials on the web is quite confusing...help please. Thank you [CODE]if(isset($_POST['submitted'])) { …

Web Development file-system image php
Member Avatar for pzuurveen
0
129
Member Avatar for starlight22

My membership script works fine, except I can't login, because this check.php script doesn't work. Login form action is check.php. Once I login with username and password, check.php gives me an error message "Please enter ALL of the information". The only information on login form is username and password. The …

Web Development php session
Member Avatar for rajarajan2017
0
122
Member Avatar for chaituu

In the main table there are two sub tables are there.when user click addRow button main row and also subrow should be created.i have written the code but when i click addrow alignment is missing and apart from that mainrow and subrow is not displaying properly. [CODE] <html> <head> <script> …

Web Development javascript
Member Avatar for azegurb
0
111
Member Avatar for jt86442

[B] Hi, Actually my requirement is when i move my mouse on the link, One alert box shoulb be appear and it will count how many times i move on that link. I already written the code in javascript but it didn't reach to my requirement. Please go through the …

Web Development javascript
Member Avatar for rajarajan2017
0
2K
Member Avatar for ayesha789

hi this is a code for [B]export to excel[/B]. I want to color the headers light blue and all result of query like one white then one grey and repeat. [CODE=php]session_start(); $a= $_GET["id"]; function cleanData(&$str) { $str = preg_replace("/\t/", "\\t", $str); $str = preg_replace("/\r?\n/", "\\n", $str); } # file name …

Web Development php
Member Avatar for pritaeas
0
3K
Member Avatar for s2xi

Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: [CODE]SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5[/CODE] that pulls out all my data and only gives me 5 results. Now …

Member Avatar for s2xi
0
586
Member Avatar for MDanz

Need help doing this. On a drop down list, on click of an option an input textfield appears. e.g. [CODE]echo "<select> <option>What is your opinion on</option> </select>"; echo "<div id='pop'><input type='hidden' id='opinion' size='20' name='opinion' value='Type Keyword Here' /></div>"; [/CODE] i want it to be hidden and then appear on click …

Web Development javascript
Member Avatar for PsychicTide
0
894
Member Avatar for Jothe

High guyz am tryin to get hint from my database but i am managing to do so,though if i list the array am able. please help if any one has an idea here is the html code [CODE] <html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; …

Web Development php
Member Avatar for Jothe
0
179
Member Avatar for freiheit

Hello all I have this query [CODE]$query_Totals_i = "SELECT (kinisis_1c + kinisis_1e + ((kinisis_1c / kinisis_1b) * kinisis_1a)) * (1 - fpa) * 1.005 AS kinisis_1, (100c+ 100e+ ((100c/ 100b) * 100a)) * (1 - fpa) * 1.005 AS `100ara`, (super_1c + super_1e + ((super_1c / super_1b) * super_1a)) * …

Web Development mathematics php
Member Avatar for rajarajan2017
0
106
Member Avatar for tiggsy

I've been going round and round trying to sort this. I have this in one of my programs: [CODE]drop table if exists temp2; rename table something to temp2; rename table temp to something; create table temp like something[/CODE] and it's not working, though it will work when I manually paste …

Web Development mysql php
Member Avatar for nileshgr
0
2K
Member Avatar for waren

Hello I'm new also with the php programming language i tried to put this code. I wanted to happen is when it submit it will email to me the name of the user. <?php $alert = $user->get('username'); if (isset($_POST['continue'])){ mail("waren@unicondouglas.com","User Login",$alert); } ?> <form name="frm" action="http://enpekei.com/products/index.php?option=com_igallery&view=category&id=0&Itemid=57" method="post"> Good Day! <?php …

Web Development email php
Member Avatar for waren
0
115
Member Avatar for shadiadiph

Sorry for another regex post but i have been trying to get a regex to work to check for unwanted characters in a string like @#?! I have tried [code] var cityreg=/^[^$%@!]+$/; [/code] but it doesn't seem to work?

Web Development javascript regex
Member Avatar for shadiadiph
0
2K
Member Avatar for MichaelWClark

I have been fighting with this code for 3 days. I got everything to work....except its a bit glitchy as of right now and I can't figure out why. I am sure it is simple. They basic concept is something like this: OFFICE [txtbox] [txtbox] [txtbox] [label] +add row BUSINESS …

Member Avatar for MichaelWClark
0
107
Member Avatar for asifakhtar

Hi, I have a form in which a user can create from 1 table to 10 tables which will dynamically create 2 HTML radio buttons, 12 checkboxes and 1 select drop down and 7 input textbox per table in JavaScript. I need help with printing the whole form with currently …

Web Development html-css javascript
Member Avatar for fxm
0
163
Member Avatar for zia zia

Hi Guys, I'm making a login form. I want to add validation to it but don't know how to do it. I have just added the echo statement as an error message. I want the message to appear on the index page.Can anyone help? My php login form process.php [CODE]<?php …

Web Development php
Member Avatar for Zagga
0
140
Member Avatar for Kitten84

I have this webpage with many ads. Currently I have them appearing in a random order without repeating each time the page is refreshed. The code for that is here.. [code] <div id="ads"> <script type="text/javascript"> var i, images = []; // insert ads here images.push("<img src='Images/xxxxx.jpg' alt='' />"); images.push("<img src='Images/xxxxx.jpg' …

Web Development javascript
Member Avatar for Kitten84
0
172
Member Avatar for MANASkumarverma

I have a probelem - how to save information as a txt or js file and retrieve it later using only html or javascript .

Web Development javascript
Member Avatar for fxm
0
112
Member Avatar for whiteyoh

Hi All, At the minute I have a script, that ill post below, that simple echos out some information via ajax. My question is, how do i get the update without using meta refresh and without clicking anything at all? [code] <html> <head> <script type="text/javascript"> function showHint(str) { if (window.XMLHttpRequest) …

Web Development javascript php
Member Avatar for whiteyoh
0
124
Member Avatar for aynamohol

I know, Here is something wrong in Image Output Section. Please, Help me to correctly show the images to 3rd no. column. [CODE]<html> <head> </head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <body> <?php include ('cont.php'); $result = mysql_query("SELECT * FROM productinput") or die(mysql_error()); echo "<center>"; echo"<table width='500' border='1' cellspacing='0' cellpadding='0'>"; echo" <tr>"; …

Web Development image php
Member Avatar for aynamohol
0
112
Member Avatar for crackerjacker

hi- currently i have a small (LAN only) web server running on my computer, and i would like to be able to make a web page in which i can run a program on the server computer from another compuer. say, for instance, i click a button on the web …

Member Avatar for crackerjacker
0
3K
Member Avatar for sastudent

I call the getTitle function but it only returns the last DB value. I presume that is because there are many rows in the DB with the same 'code' However when I call the function I want to get all the values for TITLE where code is something in the …

Web Development php
Member Avatar for sastudent
0
123
Member Avatar for mikecronauer

I am trying to set up a web based tool for my wife and I to use to balance our checkbook together. I am using HTML, Javascript (Ajax), PHP and MYSQL. I have read beginner books on all of these subjects, I can get data out of MYSQL, BUT can't …

Web Development javascript mysql php
Member Avatar for mikecronauer
0
150
Member Avatar for akulkarni

Hello, I downloaded a theme from wordpress and uploaded it to my domain server i keep getting this error Fatal error: Call to undefined function get_header() in /home/changeis/public_html/index.php on line 1 please guide

Web Development php wordpress
Member Avatar for akulkarni
0
90

The End.