52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jrw89

I have the following script saved as 'index.php':[CODE=php]<?php $implementation = new DOMImplementation(); $doctype = $implementation->createDocumentType('html'); $document = $implementation->createDocument('http://www.w3.org/1999/xhtml', 'html', $doctype); $head = $document->createElement('head'); $document->documentElement->appendChild($head); echo $document->saveXML();[/CODE]Now when I run the script, I get nothing at all (i.e. no source XML is being received by the browser). Error reporting is set …

Web Development php xml
Member Avatar for jrw89
0
135
Member Avatar for Roses89

There are two basic things i need to get help with: 1. A selection from the list in question 3 can only be made if the user selected at least 1 check box in question 2. If the user enters a valid value in the question 5 text box then …

Web Development html-css javascript xml
Member Avatar for Roses89
0
167
Member Avatar for LittleMeemz

Help, I'm a php rookie. I have a functioning form to email script, but I can't seem to get it to display checked checkboxes. I am grateful for help on this! Here's the checkbox (three checkboxes) and submit portion of my html form: [code] <label>Check all that apply: </label> <p><input …

Web Development html-css php
Member Avatar for LittleMeemz
0
125
Member Avatar for caro88

Can any1 help!! I am creating a library management and student system, but depending on the 2 set passwords given will open up the next page. Library managers details will be: username: Manager password: books10 and students will be: username:student password:loan so depending on which username and password they enter, …

Web Development php
Member Avatar for genevish
0
183
Member Avatar for vij123

i have two Jsp's pages. on main.jsp have some list of schools. from there i can go home page of any school. home.jsp represents a school home page. in home.jsp have some links like message, vision, addmission etc. when i click on any of these link then i get some …

Web Development java-jsp
Member Avatar for tyson.crouch
0
104
Member Avatar for leeZA1

Hi i have a user form, one part is a textarea where the user tpes in information. If they just enters spaces rather than text, i want a error to appear and not accept it, what code do i need??

Web Development php
Member Avatar for colweb
0
76
Member Avatar for rustifer

Hi there Im getting this error message with a script im trying to use. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rideron1/public_html/join_form.php on line 67 No database selected The script im using works on my local server but as soon as I upload it to …

Web Development mysql php web-server
Member Avatar for rustifer
0
233
Member Avatar for abrish24

Hi I'm very new into this website and to PHP. I want to make a drop down to display from my database. when i wrote the option value, a drop down is displaying in my html page however all the data comes together in one drop down. I want to …

Web Development php
Member Avatar for Tekkno
0
141
Member Avatar for muralibobby2015

hello.. i am uploading excelsheet into database using php. but when i am uploading then characters are displaying ascii type.

Web Development php
Member Avatar for cwarn23
0
96
Member Avatar for vince.

Problem with [url]http://www.javascriptkit.com/script/script2/ajaxtooltip.shtml[/url] If i have lots of links on a single page close to each other, and i hover each one a little fast then the divs opened stay open until i hover the link again of the opened div to close it. Can someone point me out to …

Web Development javascript
Member Avatar for massimo2010
0
116
Member Avatar for mattbaehr

I am using a script from Dynamic Drive and have posted this on their forum as well, with no luck. The script looks great in every browser but IE. When you hover over the parent page and the child pages show up, they go away when you start to scroll …

Web Development javascript wordpress
0
71
Member Avatar for Ruko

Hey, i'm new to PHP coding and my knowledge of php is increasing. I have a problem though. Im currently making a flash game site and I want to make urls like "Domain.com/Play.php?gid=34823" And when guests or users are on that page (with ID "34823"), I want it to show …

Web Development flash php
Member Avatar for Will Gresham
0
335
Member Avatar for ReDuX

Do you work with datasheets regularly ? Always getting .pdf files open in your browser and having to wait EONs for them to download/display ? Well here is a resolve for that most frustrating of problems with Adobe's "Handy file intercept" feature. Use this script to FORCE the browser to …

Web Development adobe pdf php
Member Avatar for w3m
0
156
Member Avatar for ms_sws

Please help! I have the following code in the head section of my web page: <script> ..... var serverLoc = "http://www.mydomain.com/mypath/"; var serverFile = serverLoc+"myexcel.xls"; var ehandle = new ActiveXObject("Excel.Application"); //error occurs var eWBhandle = ehandle.Workbooks.Open(serverFile); var eShandle = eWBhandle.ActiveSheet; var cell1 = eShandle.Cells(1,1).Value; // get more data ..... </script> …

Member Avatar for fxm
0
556
Member Avatar for througheye

Hello, Don't know where to post this though this topic based on web development platform, i think it may goes here cause in the other software forum in daniweb i didn't get any response. Is anyone aware of screen scrapper Enterprise. I want to use that. Anybody has any good …

Web Development php
Member Avatar for througheye
0
78
Member Avatar for star_lavender

hi...I'm trying to calculate the total no of item of things in a table, so I select the same item first, then I start adding them and save the total no of items in another table...but the problem is when I start insert the new items, the existing items also …

Web Development php
Member Avatar for star_lavender
0
106
Member Avatar for Atomika3000

trying to get i form going, so that the user can just a code from a list generated from a database(i got that bit working), and then bring up a new page with the details of that product. i cant seem to get it to send the variable through here …

Web Development html-css php
Member Avatar for diafol
0
93
Member Avatar for sacarias40

Does anybody have any ideas of how to make an advanced search function? I would like to accept a string as the search query. i want it to run a query on the string as a whole, and for each word in the query. The problem is here: The results …

Web Development php seo sql
Member Avatar for sacarias40
0
168
Member Avatar for YenkoSC

I have code here for a form that submits the data to my email. When I click the send this form button, it submits the email to my address with the titles that I want but not the data that has been put in the boxes. Furthermore, I want to …

Web Development php
Member Avatar for JRM
0
99
Member Avatar for leeZA1

The code below is what i am using to upload a photo to store it in a database, is it being stored correctly?? as it will not let me view them properly, any help is great!!! [code] $title = $_POST["title"]; $userfile = $_FILES['userfile']['tmp_name']; $userfile_name = $_FILES['userfile']['name']; $userfile_size = $_FILES['userfile']['size']; $userfile_type …

Web Development image mysql php
Member Avatar for diafol
0
140
Member Avatar for invictuspravin

Hello There, Access denied for user 'xxxx.d'@'xxxxx' (using password: YES) Actually in my application i am executing stored procedure on page load of index page ... i have hosted application on webserver and i am using shared mysql database server when i triese to run the page it shows the …

Web Development asp.net
Member Avatar for invictuspravin
0
153
Member Avatar for leeZA1

If anyone has ideas pleas help!! Ok, i have a drop down box generated from my database, the user can pick a option and then delete it from the database althoguh i doesnt seem to reogise it if it has a space in the word. How can i prevent this? …

Web Development php
Member Avatar for leeZA1
0
100
Member Avatar for Bobon

Hey lads, Firstly apologies for the long message. I just thought it might be easier to explain my issues. I'm doing a website for myself and have been getting some amazing info from this forum. I've moved onto the database part to it. Now, for my website, user can sign …

Web Development java-jsp mysql
Member Avatar for ds2r
0
109
Member Avatar for SammyFrancis

Hi guys, Does any body know of a good Quick ColdFusion Reference on the App Store.

Web Development app-store coldfusion
Member Avatar for samaru
0
122
Member Avatar for cjay175

Hey everyone, I just got a solution from here, but I think I spoke to soon, as I ran into another problem right away. I have been playing around with it for a couple days now, and just hoping that someone could explain or see why it isn't working. I …

Member Avatar for cjay175
0
600
Member Avatar for rukshilag

i want a print button to be able to print out details of a php form by connecting to a printer. can someone explain this to me with an example code please?

Web Development javascript printer
Member Avatar for Airshow
0
117
Member Avatar for bjeffries

I currently have some code to show the latest update on my site. I have two problems: 1) how do I get the date to Display "04-13-10". I know the php code is date("m-d-y") But how would I incorporate that for an updated item? 2) limit the number of updates …

Web Development php
Member Avatar for genevish
0
107
Member Avatar for MDanz

i have a forum, with new posts how do i use sessions for each user to determine if the posts clicked on and not? I'm guessing sessions because that is individual to the user... e.g. new post, then click on not new post. i can't assign this to the actual …

Web Development php
Member Avatar for cwarn23
0
99
Member Avatar for carrzkiss

Hello All; It seems that I have just run into a small issue that I am hoping can get resolved pretty quickly, as it is the only thing that is holding me back from completely this part of my task. In an ASHX file, I am needing to read a …

Web Development asp.net flash
Member Avatar for carrzkiss
0
159
Member Avatar for tjhart

Hey all, I'm having to write a program that generates a random number between 1-1000 and then allows the user to make guesses in a text box, answering to high or to low, until the correct answer is entered. I had the program working fine with using strictly prompts and …

Web Development javascript xml
Member Avatar for parry_kulk
0
646
Member Avatar for Omar123

Hello, I wrote all the code and everything works good on the project (web site using Visual studio 2008) that I'm working on, and now the only thing that I have to do is to have at least a simple layout of the webpage I'm doing. I don't know css/html …

Member Avatar for Sodabread
0
98
Member Avatar for danarashad

[code] Federal Projects: <cfselect name="AdminID" bind="cfc:folder.components.forms.getProjects()" display="ProjectName" value="AdminID" bindonload="true" /> Administrators: <cfselect name="AdminName" bind="cfc:folder.components.forms.getAdminInfo({AdminID})" display="FullName" value="PrincipalID" /> [/code] The Code above queries a cfc and returns the results to the second cfselect. My question would be how to return the result to a cfinput box? Is that even possible.

Web Development coldfusion
Member Avatar for arrgh
0
372
Member Avatar for ssharifi

Hi,I wrote a piece of code that admin can add publications with their date and users and admin can view all the publications in the same page sorted by time.till here it was ok,the problem started when i wanted to add a jump menu on top of the page so …

Member Avatar for cwarn23
0
133
Member Avatar for newCFcoder

[code]<cfquery name="findQtrs" dbtype="query"> SELECT DISTINCT DATEADD(qq, DATEDIFF(qq, 0, event_datestart), 0) as SQtr, DATEADD(qq, DATEDIFF(qq, -1, event_datestart), -1)as EQtr FROM eventData ORDER BY SQtr ASC </cfquery>[/code] when I run the above I get error in syntax of '(' looking for a from. However, when I run that exact query in SQL …

Web Development coldfusion
Member Avatar for arrgh
0
163
Member Avatar for phpDave

I have been working with this for a while now. User page has a counter that they can reset when they click on a link. The link goes to a script that updates the counter to zero but when I test it all rows in table update to zero. [CODE]$colname_Recordset1 …

Web Development php
Member Avatar for phpDave
0
193
Member Avatar for overwise

hi i'm new in php, and i'm making my first db driven site. it's something similar to "news" cms concept. i made pages for uploading images, and inserting data into db table. it works. now i'm making a page where i want to display that content. here, i need some …

Web Development cms php
Member Avatar for overwise
0
84
Member Avatar for gdp_87

Hi i am new to asp.net and have followed a tutorial in creating a shopping cart and thats working fine. I would like to modify it to produce the products from my database rather than get static products from a class which it does now. Sorry for the masses of …

Web Development asp.net session
Member Avatar for gdp_87
0
434
Member Avatar for KBL

Hey folks, I need help with displaying a php array in a html table. I already have it displaying but it keeps repeating the column headings over each entry and also I want each row of the table to be a different color. I figured that the repeating column headings …

Web Development html-css php
Member Avatar for diafol
0
256
Member Avatar for mornej

Hi I am a beginner programmer and I would like to know how I can create a new page(.aspx) usong a button. So What I am actually asking is: I want to have a page that you can enter your information in. eg name Then if you press submit it …

Web Development asp.net
Member Avatar for mornej
0
100
Member Avatar for gklandes

I've started a new application in Coldfusion using the ModelGlue 3 framework. For some reason, the "defaultType" on my event-handlers is not working. Here is a snippet from the modelglue.xml file... [CODE=xml] <modelglue> <controllers>...</controllers> <event-types> <event-type name="templateMain"> <after> <results> <result do="view.template" /> </results> </after> </event-type> </event-types> <event-handlers defaultType="templateMain"> <event-handler name="dashboard"> …

Web Development coldfusion xml
Member Avatar for gklandes
0
100
Member Avatar for sacarias40

Ok i have a couple email functions, the one that works, sends an email to the recipiant and the one that doesnt work how i want it sends an email with an activation link in it. the working email says its from [email]support@domain.com[/email] (like i want it to say) but …

Web Development email php
Member Avatar for sacarias40
0
123
Member Avatar for abby524

Hi, I'm a PHP newbie, hosting a site on godaddy. I am attempting to create a form (with some text boxes with validation) that will be filled out by users that will be sent to my email account. I'm forced to use godaddy's form mailer but I'm having trouble including …

Web Development html-amp php xml
Member Avatar for abby524
0
212
Member Avatar for tyson.crouch

G'day, My problem is not one that is overly complex but i have been unable to find a simple solution to my problem. My problem is that i have my given form with two submit buttons, for which I'm using images. Once i click on the images, how do i …

Web Development java-jsp
Member Avatar for ~s.o.s~
0
218
Member Avatar for sam023

Hello friends this is something weird... when i insert some italian characters in mysql. like [B]è ò à ù ì[/B] i got this in database [B]è ò à ù ì [/B] my table charset is latin1. thanks in advance. :)

Web Development mysql php
Member Avatar for cwarn23
0
250
Member Avatar for RickyG

Hi guys I am trying to create a code that allows me to take either first name or last name or both and display accordingly on the gridview.. Much help is appreciated viewrecords.aspx [code] <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/JABILMCALLEN.mdb" SelectCommand="SELECT Employees.Name, TrainingDocuments.ReferenceDocument, TrainingDocuments.Description, Certifications.[Started Training], Certifications.[Ended Training], Certifications.TrainedBy, Certifications.Approved FROM TrainingDocuments …

Web Development asp.net
Member Avatar for RickyG
0
130
Member Avatar for dangari

Hi all.I have been using a certain javascript code to display a "Please wait..." message on screen but it seems to work in some instances and not in others.Please assist me with javascript code that works in all instances Below is the code I currently use. In the head tags …

Web Development javascript
Member Avatar for harshal82
0
2K
Member Avatar for azegurb

hi all, I have a problem getting value from select option my code is below [CODE] <form name="secmek" action="add.php" method="post"> <select name="list" id="list"> <? @$db=mysql_connect('localhost','uname','pass'); mysql_select_db('dbname'); $sorgucat=mysql_query("select * from category"); while($satircat=mysql_fetch_row($sorgucat)) { echo "<option value='$satircat[0]'>$satircat[1]</option>"; } ?> </select> <input type="submit" value="poz" name="del"> </form> [/CODE] and this is my category table …

Web Development php
Member Avatar for HITMANOF44th
0
131
Member Avatar for scorpio222

hi, i have an aspx page, Default.aspx, which runs when a web service is called. the output of the web service is something like this: http:\\xx.xx.xxx.xxx\FileDownload\Default.aspx?download=2.csv&type=csv This link above will download the csv file present on the server. The code for the default.aspx is given below. I want to know …

Member Avatar for murugavel84
0
181
Member Avatar for baseballfury

Hiya All, Not sure if i should be putting thi up on the SQL section but i think the problem lies in the PHP part of my code. This is what i've got. I'm counting the number of times a category shows up in my database returning the name of …

Web Development mysql php sql
Member Avatar for baseballfury
0
195
Member Avatar for serik

Could you explain me how to build web service in eclipse?

Web Development xml
Member Avatar for peter_budo
0
95

The End.