52,566 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
hello.. i am uploading excelsheet into database using php. but when i am uploading then characters are displaying ascii type. Web Development php | |
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 | |
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 | |
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 … | |
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 … | |
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> … Web Development client-server javascript microsoft-office | |
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 | |
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 | |
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 … ![]() | |
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 … | |
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 | |
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 … ![]() | |
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 | |
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 | |
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 … | |
Hi guys, Does any body know of a good Quick ColdFusion Reference on the App Store. Web Development app-store coldfusion | |
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 … Web Development html-css javascript javascript-jquery | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … Web Development asp.net html-css visual-basic visual-studio | |
[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 | |
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 … Web Development client-server display php publishing | |
[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 | |
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 | |
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 … | |
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 … | |
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 … ![]() | |
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 | |
![]() | 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 ![]() |
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 … | |
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 … | |
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 | |
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. :) | |
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 | |
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 | |
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 | |
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 … Web Development asp.net file-stream file-system web-server | |
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 … | |
Could you explain me how to build web service in eclipse? Web Development xml |
The End.