52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for feoperro

Hi, I have an ajax script that sends a request to a servlet for information to be inserted into a table cell. The servlet then handles the request and replies with something like this: (I took the liberty of removing all the out.println tags) [CODE] <script language='javascript' src='whiteWine.js'></script> <table align='center' …

Web Development javascript
Member Avatar for feoperro
0
134
Member Avatar for ruwanaru

In this the JS Codes (in the code tag)are not working only in this page can any one help me on this <!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"><!-- InstanceBegin template="/Templates/main.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Luxmi Lanka</title> <!-- InstanceEndEditable …

Member Avatar for ruwanaru
0
123
Member Avatar for sanishan

Hi! i want to send 10,000 email to my users i have shared web hosting. i think i have only this solution. i want a simple php coding. if some one visit at my site an email automatically send from database list. i have a mysql table -------------------------------- | ID …

Web Development email mysql php
Member Avatar for sanishan
0
85
Member Avatar for ruwanaru

This is my codes [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> <script language="javascript" type="text/javascript" src="js/mootools.js"></script> <script language="javascript" type="text/javascript" src="js/getchqno.js"></script> </head> <body> <script type="text/javascript"> function buildSelect(select, options) { var select = $(select); select.empty(); options.each(function(item) { if($type(item) != "array") { item …

Member Avatar for ruwanaru
0
168
Member Avatar for Kruptein

I do php coding for some time and want to learn something new. After some researsh I ended up with 2 languages/frameworks but I can't choose between them. I'm a python programmer so python Django might be easier to start with. But I don't know a well-known website which is …

Web Development python python-django ruby
Member Avatar for Kruptein
0
527
Member Avatar for dsmush

Hi I'm doing a project which requires a registration/login page. I have created both registration and login html pages and have done the validation servlet for the login page. I've also attempted the validation servlet for the registration page, but this is where I am struggling because I can't get …

Web Development java java-jsp sql
Member Avatar for javaAddict
0
508
Member Avatar for whitestream6

This is the code for my TV guide website (stored on localhost)'s articles in PHP: [CODE] <?php //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDREMOVED"); //select which database you want to edit mysql_select_db("tvguide"); //select the table $result = mysql_query("select * from epdata"); //grab all …

Web Development apache mysql php
Member Avatar for whitestream6
0
137
Member Avatar for whitestream6

This is an included file on one of my PHP sites on localhost: [CODE] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDDELETED"); //select which database you want to edit mysql_select_db("myradiostation1"); //select the table $result = mysql_query("select * from presenters"); //grab all the content …

Web Development html-css php
Member Avatar for diafol
0
135
Member Avatar for veledrom

Hi, I have two classes. I user [inlinecode]throw new Exception("Error");[/inlinecode] in first class. I want to catch that error message in second class with "try catch". How do i do it? Thanks

Web Development oop php
Member Avatar for veledrom
0
146
Member Avatar for grv_

Hi, I am making a small image annotation tool for research purpose. I have many images shown to a <user> and the person has to click on the image to enter further information about the image. I would like to POST information about the <user> which is same for all …

Web Development javascript
Member Avatar for grv_
0
103
Member Avatar for JRM

I have found Javascript to be the most difficult language to find useful and CORRECT info on. Afterr working for several hours looking at various sites, I'm still somewhat stumped. All I know at this point is that these is a difference in the array formatting between PHP and JS. …

Web Development javascript json php
Member Avatar for JRM
0
364
Member Avatar for bigjoke

Anyone has any idea how i can look inside my arrays for diagonistics purposes. I am using tail.exe on vista currently for general debugging purposes. regards.

Web Development php
Member Avatar for bigjoke
0
74
Member Avatar for adam1991

Ive got some information that i want to be sent to the database, first the information is taken from the database to the textboxes which works, i will then be able to edit the text, and send back to the database, ive got the Command all coded but when i …

Web Development asp.net
Member Avatar for jbisono
0
71
Member Avatar for priyankkothari

Hello all. I am new to .net development. I am inserting the data and i want the data to get displayed in the grid view as i enter the data.But it doesn't get displayed immediately. If i refresh the page,the data gets inserted twice. I tried to solve this using …

Web Development asp.net
Member Avatar for sknake
0
102
Member Avatar for sethm

I am trying to get my date that people enter into a form from mm/dd/yyyy to input it into the database. I can't seem to get this to work, I guess I only know enough to hang myself, what would someone use to get this to function properly? I've been …

Web Development mysql php
Member Avatar for sethm
0
165
Member Avatar for Chad Gary

I have the following html form where the user enters username and password. I'm using ajax to send the values to a php page and in return depending on what the username and password is the php page sends a request back. It send a T if the username/password combination …

Web Development javascript javascript-jquery
Member Avatar for Atli
0
105
Member Avatar for peter_budo

I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li …

Web Development javascript javascript-jquery
Member Avatar for peter_budo
0
130
Member Avatar for kylcrow

I am creating a small website for a little basketball league my friends and I are starting where I can enter the wins and losses for a player and a grid will display all the data for that player. I want the grid to display these fields: First Name, Last …

Web Development asp.net visual-studio
Member Avatar for jbisono
0
110
Member Avatar for oluwafisayo

[code=php] < ?php // take in the id of a director and return his/her full name function get_director($director_id) { global $db; $query = ‘SELECT people_fullname FROM people WHERE people_id = ‘ . $director_id; $result = mysql_query($query, $db) or die(mysql_error($db)); $row = mysql_fetch_assoc($result); extract($row); return $people_fullname; } // take in the …

Web Development php
Member Avatar for SHARMA1
0
237
Member Avatar for feoperro

Hi, I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays …

Web Development flash javascript
Member Avatar for feoperro
0
223
Member Avatar for sravankolla

Hi All I got an error while working with Crystal reports I have added a crystal report and set a command over there to get data. I have added a crystalreportviewer named CRV to my web form and the code given as [code] using System; using System.Collections; using System.ComponentModel; using …

Web Development asp asp.net web-server
Member Avatar for shijobaby500
0
1K
Member Avatar for jino

Hi all, I am using codeigniter. I want to generate dynamically the contents of the textarea of the tinyMce. Is there any plugin for generating the content something like smarty. Thanks in advance. Jino

Web Development php php-codeigniter
Member Avatar for jino
0
112
Member Avatar for veledrom

Hi, I need a php editor where i can see what variables, class names, function names are already in use and if it is possible (not necessary) debugger. WinXP: ? Ubuntu: ? What editor do you suggest me? Thanks in advance

Web Development php ubuntu
Member Avatar for Atli
0
68
Member Avatar for jino

Hi all, I am not getting the tinymce edit textarea in an html page that is generated by ajax. I am calling the ajax using jquery. I have kept the tiny_mce.js file on the page that is generated via ajax. The path is correct but am not getting the page …

Web Development javascript
Member Avatar for jino
0
1K
Member Avatar for evilsanta03

Hi All, I am new to this Coldfusion and i am creating a FAQ page. My Database is MS ACCESS. It is working but with some code error as i am displaying 5 FAQ on first page then next 5 FAQ on the other page and so on. The PROBLEM …

Web Development coldfusion display html-css ide
Member Avatar for evilsanta03
0
128
Member Avatar for btech_Saurabh

Hi Community..... "The request failed with the error message:<head><title>Document Moved</title></head>\n<body><h1>Object Moved</h1>This document may be found <a HREF=\"http://moss:25031/sites/Transformers/default.aspx\">here</a></body>" I get this error whenever i trying to use my WebServices via Proxy Class. I have created a Custom WebService, It builds fine. Then i created a .disco and .wsdl file by using …

Web Development sharepoint xml
Member Avatar for KSDev
0
593
Member Avatar for daveo1001

I work for masterclock. we sell network synced clocks and timing systems. One of our products is a "bell ringer." We currently control this ringer through a C++ program another one of our employees made. However, it only works on Windows systems, looks like crap, and is as confusing beyond …

Web Development client-server flash javascript
Member Avatar for JRM
0
116
Member Avatar for yara.008

hi i want html editor and i search i find many but it dose not work with asp.net page i try to get help to design by my self i dont find any resource i need help :( i need simple html editor not complex one and i need resource …

Web Development asp.net html-css
Member Avatar for scranton
0
101
Member Avatar for fridge2305

Hi Everyone, I would appreciate it if someone could have a look at this short mysqli script and tell my why I am getting this parse error: Parse error: syntax error, unexpected T_VARIABLE in /home/james230/public_html/xampp/htdocs/lesson1/login.php on line 10 I had this set up as mysql and it works perfectly, but …

Web Development php
Member Avatar for bigjoke
0
162
Member Avatar for dhrider

Hey. I'm new to php and I have been looking everywhere for info on how to take information from my sql table field and put it into a html form list.

Web Development html-css php sql
Member Avatar for diafol
0
153
Member Avatar for styles_p

Hello I'm a newbie of nhibernate And i would like to use the NHibernate Mapping here is my mapping file <?xml version="1.0" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="HibernateCollaborator.Core" namespace="HibernateCollaborator.Core" default-access="property" default-cascade="none" default-lazy="false" auto-import="true" > <class name="User" table="Users" lazy="false"> <id name="ID" column="ID" type="Int32" unsaved-value="0"> <generator class="native" /> </id> <property name="ForeName" type="string" length="30" not-null="true"> …

Web Development asp.net assembly session xml
Member Avatar for styles_p
0
96
Member Avatar for JRM

Hello, I'm a neophyte to Javascript, but I need it to dynamically add lines to a form. I was able to cobble together this inelegant looking code below. It adds the row when called, but there are more attributes needed for this to be correct for the application. 1) need …

Web Development html-css javascript
Member Avatar for JRM
0
131
Member Avatar for pkrdimos

Hi. I am new both in daniweb and as a web programmer (university student) and I'd really like some help, if possible, with a shopping cart I've been developing for a lesson/project of mine. The error I get is: Parse error: syntax error, unexpected '{' in C:\Apache_PHP_MySQL\xampp\htdocs\site\basket.php on line 135. …

Web Development ecommerce html-css php
Member Avatar for pkrdimos
0
151
Member Avatar for onaclov2000

I'm really not sure if this is the place for this, but I guess I don't see any OpenID or SVN forums...LOL I'm having a heck of a time finding this stuff, but basically what I'm looking to do, is if I try to go to my SVN page, I …

Web Development php web-server
Member Avatar for onaclov2000
0
145
Member Avatar for liamfriel

Hello All, I got an email like this: [QUOTE]Details: Your site is hacked lock hear (mafiaradio.is-a-chef.net) Resolved: (213.175.205.68)and lock hear [url]http://mafiaradio.is-a-chef.net:8000/[/url] u will see your site is hacked ! clean your root and change your users password !![/QUOTE] I checked the url and it was indeed our site - I …

Web Development php
Member Avatar for liamfriel
0
100
Member Avatar for newcoder10

Hi All, I would like to know what's the best way to write function(global) in asp.net c# Framework 2.0 to check for textbox in a form (i have about 80 textbox on one form and I have many forms and textarea and I have list of 90 ro 100 words …

Web Development asp.net
Member Avatar for newcoder10
0
120
Member Avatar for wonderland

Hi, My apologies if this is the wrong section. I wanted to know is it possible to set up .htaccess so that when user is promted for username and password, username is already input. OR just password is needed in order to proceed ? Thanks

Web Development xml
Member Avatar for wonderland
0
103
Member Avatar for Niccloud

I was wondering for my school major web project. I have seen from some websites that they have created a floating window on a webpage. I was wondering if anyone had any suggestions on how I can go about doing it.

Web Development php
Member Avatar for diafol
0
73
Member Avatar for Guy Perkins

It's been a while since I have had to create a search box to search and display data from sql data base. Just need a little push to refresh my memory. Thanks

Web Development asp.net
Member Avatar for iamchamith
0
90
Member Avatar for girl.java

hello everyone could u please solve this for me Write embedded JavaScript code in the required HTML tags that accepts three numbers from the user and pring out the maximum as the following result : First Number is : 3 Second Number is : 4 Third Number is : 5 …

Web Development javascript
Member Avatar for girl.java
0
103
Member Avatar for whitestream6

I get these errors in a script of mine: [CODE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\www\vhosts\myradiostation\test.php on line 13[/CODE] and my original page (included in another page): [CODE] <?php //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDREMOVED"); //select …

Web Development mysql php
Member Avatar for DW Master
0
181
Member Avatar for ruwanaru

What i need is Toggle the each div with the relevant check box ex:- when i checked "[B]div1chk[/B]" i want to toggle "[B]div1[/B]" [CODE] <input type="checkbox" id="div1chk" /> <input type="checkbox" id="div2chk" /> <input type="checkbox" id="div3chk" /> <div id="div1"> div1 showed </div> <div id="div2"> div2 showed </div> <div id="div3"> div3 showed …

Web Development javascript
Member Avatar for terrial
0
127
Member Avatar for Stefano Mtangoo

Hi guys, its me again. How do you write templates for your sites (without template engine)? Pure php or what? I want to hear how you do it

Web Development php
Member Avatar for terrial
0
96
Member Avatar for Stefano Mtangoo

I know you would say ask to JS/AJAX forum! Don't worry, it isn't about codes, it is curiosity. I wan't to know if I can do Ajaxing using JQuery and PHP without writting all Ajax functions myself :) Just that :-/

Web Development javascript-jquery php
Member Avatar for diafol
0
94
Member Avatar for JohnBlanco

Hi, I am having troubles finding something about dropdowns with javascript. I have two dropdowns, and I wanted to choose an option from the first and change the values that appear in the second. Can anyone help me? Thanks in advance

Web Development javascript
Member Avatar for JohnBlanco
0
121
Member Avatar for rishabh95verma

I want to create a a application for my web page as seen on pageflakes.com by which a user can easily logon to his facebook account and see all his facebook information. A similar gadget can also be found on igoogle and you can add it from this URL [url]http://www.google.com/ig/directory?type=gadgets&url=www.brianngo.net/ig/facebook.xml[/url] …

Web Development xml
Member Avatar for macneato
0
99
Member Avatar for dasatti

Hi, The following JQuery works fine in all browsers excluding ie-8. It works fine even in ie-7. Not tested in ie version gater than 8. It works fine in Firefox, Chrome and ie-7. Can any body figure out what is the problem and how to solve. [CODE] <script type="text/javascript"> $(document).ready(function() …

Web Development javascript javascript-jquery
Member Avatar for macneato
0
86
Member Avatar for Kystadio

Right now, I have a PHP script which - ideally - selects "posts" from a table, based whether or not the the time in the post is greater than the current time. [code]if(isset($_POST['id'])) { $id=addslashes($_POST['id']); $time=date("h:i:s"); $sql=mysql_query("SELECT * FROM public_wis WHERE mig_id='$id' AND time >= '$time'"); if(mysql_num_rows($sql)!=0) { while($rows=mysql_fetch_array($sql)) { …

Web Development mysql php
Member Avatar for pritaeas
0
98
Member Avatar for anup.maverick

Hi, I have 3 pages(Page1, Page2, Page3) in my Application, Now the problem is that I don't want the User to go directly to Page 2 or Page 3. User should be redirected to Page 1, if they do so. How this can be achieved? “There has to be evil …

Web Development asp.net
Member Avatar for greyhound
0
572
Member Avatar for newto

hello, can anyone help med check what I am missing in this code: [CODE]//here I want to make the lists unvisible when you enter the page. function borja(){ var vanster=document.getElementsByTagName("h2"); for (i=0; i<vanster.length; i++) { vanster[i].nextSibling.nextSibling.className="osynlig"; } } function visa(){ var sibling=this.nextSibling.nextSibling; sibling.className="synlig"; } function dolj(){ var sibling=this.nextSibling.nextSibling; sibling.className="osynlig"; } …

Web Development javascript
Member Avatar for newto
0
197

The End.