52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for OmniX

I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get …

Web Development javascript php
Member Avatar for OmniX
0
104
Member Avatar for love19_foryou

I hv downloaded html to pdf convertor but i am not able to use css in pdf file. can anyone hrlp me.

Web Development html-css pdf php
Member Avatar for phper
0
92
Member Avatar for halifaxer

Hi there, Bit of a complicated query, for me anyway. lol Following code: [code]$url = 'http://www.cheapsmells.com/viewProduct.php?id=6590'; $html = file_get_contents($url); preg_match('/<div class='productOurPrice'?>(.+?)(\d+\.\d+)(.+?)?<\/div>/', $html, $match); $out = $match[2];[/code] Great, no problem! However, this next url I need to code to is a bit trickier as the tag data is, well see below... …

Web Development php regex
Member Avatar for phper
0
144
Member Avatar for lesalmin

How should I implement "interactive refresh" (I don't even know how I should call it) where one visitor's action (klicking a link, submit button etc. - everything will do) activates page refreshing of other visitors on the same page? I know how to implement an automatic, periodic refresh but I …

Web Development php
Member Avatar for phper
0
177
Member Avatar for usc87bb

Hi there...I'm pretty new at the PHP game, I've basically taught myself everything from looking at examples scripts and Google, and I've only been tinkering with scripts for about a week. Therefore, I'm confused about the error I'm getting when I try and run this part of the script. Basically, …

Web Development php web-browser
Member Avatar for usc87bb
0
92
Member Avatar for saranya_arun

I have 4 radio buttons and 4 text boxes, say for eg: r1, r2, r3 and r4 and t1, t2, t3 and t4 respectively. On load of the page all 4 text boxes will be disabled, when i click on r1, t1 must get enabled. When i click on r2, …

Web Development javascript
Member Avatar for ~s.o.s~
0
266
Member Avatar for smilyswapna10

hi all, when i refresh the parent window then the child winodw should be closed using javascript and html. Thanks& Regards, swap.

Web Development javascript php
Member Avatar for nav33n
0
90
Member Avatar for dorcas

I installed Wampserver on my machine and everything else seems to be working well except that scripts on html pages are not being executed by the server. I previously had Apache 2.0.59 and still experienced the same problem. E.g on the code below: [code] <html> <body><?php echo "Hello World"; ?> …

Web Development apache asp php
Member Avatar for ezb
0
108
Member Avatar for Bro

I have about 100 sub web sites under my domain, example: domain.com/England, domain.com/Denver and I adding more, I need my main web site to recognize where the customer came from (which sub domain) and send the form information via email to that office. Let's say someone goes to my England …

Web Development email php
Member Avatar for rudevils
0
77
Member Avatar for tie372

How would I make it so when I select something from a mysql database, that information isn't stored in the array twice? Here is my code [code]<?php include "header.html"; include "db.php"; if($_GET[by]==genre) { $sort = mysql_query("SELECT genre FROM bands ORDER BY genre"); while($sort2 = mysql_fetch_array($sort)) { $sql=mysql_query("SELECT * FROM bands …

Web Development mysql php
Member Avatar for digital-ether
0
70
Member Avatar for killer007

[B]Hello Guys Can anybody here answer my this question. How we can show Latest Categories from this Sql table. Here is the Table [code] -- -- Table structure for table `jos_afm_cats` -- CREATE TABLE `jos_afm_cats` ( `cat_id` int(11) NOT NULL auto_increment, `parent_id` text NOT NULL, `file_id` int(11) NOT NULL default …

Web Development data-structure mysql php
Member Avatar for nav33n
0
130
Member Avatar for blackbr

asp.net 1.1 + vb.net I am redirecting to a page with a querystring. The system processes the logic of the page_load sub, hits the end sub, then begins the logic again. It does this only once on first entering the page. When I debug, I can see this activity... when …

Web Development asp asp.net ide session vb.net
Member Avatar for ericstenson
0
147
Member Avatar for orr16875

I have simple js form validation, and it doesn't work, no matter how enabled the browser is. I've tried everything. I even tried: <form action="mailto:..." > but it'll popup the windows alert about using the email program (outlook/outlook express) completely ignoring the js validation. please your help. this is the …

Web Development javascript xml
Member Avatar for Fest3er
0
154
Member Avatar for vasudha k

Hi everyone, I have small query..... I am new to ASP coding..... I just want to know if I can use MS Access as my database or is anything else more optimum ... my application to be designed is quite a small one..... so will this be a good combination …

Web Development asp
Member Avatar for Jx_Man
0
105
Member Avatar for tjenning27

Hello I found some great php code on this site yet I have a question. regarding the php script below: <?php $to = "orders@babyresume.com"; $subject = "Contact Us"; $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; $headers = "From: $email"; $sent = mail($to, $subject, $message, $headers) ; if($sent) {print "Your …

Web Development php
Member Avatar for tjenning27
0
103
Member Avatar for Dsiembab

Good Morning, I am thinking of letting users upload files to my website. I already have a php script to allow this which will be the back-end of a flash GUI. I have made the .swf which would allow the browser to find files with only the specified file-types for …

Member Avatar for Dsiembab
0
129
Member Avatar for Cano82

I listed top 5 data by gridview. I use itemtemplate and hyperlink for them. An Idditon I have an Image. When I mouse over on hyperlink the image will be change. How can it ?

Web Development asp.net perl
Member Avatar for Cano82
0
1K
Member Avatar for OmniX

Im looking for a piece of code that can be used to select all input text fields and then disable and enable them at will. I was trying to work off this: [code] text = document.getElementsByTagName("input"); [/code] THEN when required: [code] text.disable = true; text.disable = false; [/code] Thanks, Regards …

Web Development javascript
Member Avatar for OmniX
0
7K
Member Avatar for lafalot

Hi, I have a cferror type = "exception" exception="any" in my application.cfm file. This works great for most errors, but I recently found that it is not working for attribute validation errors. For example, if I misspell an attribute for the cfqueryparam tag, my custom error page is not called. …

Web Development coldfusion
Member Avatar for mellamokb
0
132
Member Avatar for mcx76

I am creating web order form html and php.I am not php coder.So please sorry if i am wrong . The demo page is [URL="http://www.desinovels.com/order/contactus.htm"]Here[/URL] I want if user come and click on check boxes.So i will receive email on completion.when submit.I dont know which tags will be user to …

Web Development php
Member Avatar for nav33n
0
114
Member Avatar for Charleslp2007

Hello !!! I am the owner of a website which is a social network. The members can email each other but there is a little problem: [B]They can see the email address of the person who wrote them[/B]. As you can see, this is uncomfortable for some people because there …

Web Development email php
Member Avatar for digital-ether
0
296
Member Avatar for manish_gajjar

ajax_example1.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="javascript"> function showdetail(id) { //var xmlhttp; //if(window.XMLHttpRequest) xmlhttp=new XMLHttpRequest(); /*else if(window.ActiveXObject) xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");*/ xmlhttp.open("GET","data_fetch.php?id="+id,true); xmlhttp.send(null); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 || xmlhttp.readyState=="complete") { //if(xmlhttp.status==200) { //if(xmlhttp.responseText!='') { //document.getElementById('emp_nm').innerHTML=xmlhttp.responseText; xmldoc=xmlhttp.responseXML; document.getElementById("emp_nm").innerHTML=xmldoc.getElementsByTagName("emp_nm")[0].firstChild.data; document.getElementById("dpt_nm").innerHTML=xmldoc.getElementsByTagName("dpt_nm")[0].firstChild.data; document.getElementById("wrkphour").innerHTML=xmldoc.getElementsByTagName("wrkphour")[0].firstChild.data; document.getElementById("sal").innerHTML=xmldoc.getElementsByTagName("sal")[0].firstChild.data; document.getElementById("ph_no").innerHTML=xmldoc.getElementsByTagName("ph_no")[0].firstChild.data; …

Web Development javascript php xml
Member Avatar for cfroese
0
91
Member Avatar for neha gupta

Hi, I m trying to run my php script using the xampp on Fedora linux. I ve sucessfully started xampp.And tested using "http://localhost/" It works well.... But when i try to run my file (php or html)it does nt work.. I put my file exp.html [or exp.php] in the "lampp/htdocs/" …

Web Development html-css php
Member Avatar for cfroese
0
219
Member Avatar for jp61

Hi, I have Spry placed on my web pages, when previewing in Firefox, and I click the Spry Accordion my nav at the top becomes bold and fuzzy, very strange, but it doesn't happen on every page [url]www.jimpoole.net/sinclair-college-courses.html[/url] I've compared code and looked at everything I know and can't come …

Web Development javascript
Member Avatar for jp61
0
135
Member Avatar for OmniX

Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for only one and was working fine but there are three. So I would like to …

Web Development javascript
Member Avatar for mellamokb
0
126
Member Avatar for janicefernandes

we are a small website company. I make the user interface of the website while my colleague develops the admin side in asp. The admin pages alow our client to change the text and images on certain pages like products, gallery etc. i want to study code examples of such …

Web Development asp user-interface
Member Avatar for mellamokb
0
218
Member Avatar for amith003

Hi Everyone I'm using ASP.NET with C# for an application. I want to know how to take values from a database(sqlserver) and store it in session variables in .net. Can anyone pl help? Thanks in Advance

Web Development asp asp.net session
Member Avatar for amith003
0
107
Member Avatar for stoncoder

how to code a function to send an email to a predetermine email address. I developt a sample but i got som error message due to mailhost . the error is showen in attached file. can anyone say me how to solve this problem. i tried several mailhost, but it …

Web Development java-jsp
Member Avatar for mellamokb
0
102
Member Avatar for knowledgelover

hi, I am desiging ASP.net website , in one of the forms I need to import data to an excel work book with a specific name but I need to check first is that work bokk already exist so not recreate but only add a sheet to it . here …

Web Development asp asp.net
Member Avatar for mellamokb
0
144
Member Avatar for martinkorner

I am currently reading and displaying the entire contents of a text file using the following code: [ICODE]$html_get = file('content.txt'); foreach ($html_get as $html_num => $html_text) { echo $html_text; }[/ICODE] I would like, however, to have the code read the contents of the text file up to a certain line …

Web Development php
Member Avatar for mario.stoica
0
173
Member Avatar for KingTheoden

Hey guys, sorry to bother you with some rather elementary woes. I am using the book Beginnings PHP5 and MySQL E-Commerce and am stuck at Chapter 2. My default folder for Apache is C:/htdocs. I created a folder C:/tshirtshop, created a simple php info page in this folder, and have …

Member Avatar for KingTheoden
0
90
Member Avatar for ned69

Hi Guys I have two tables I'm trying to pull information from. In the end I want to be able to display a username and a school name which are contained in 2 separate tables but linked by the school id number. The problem is that the 'members' table which …

Web Development php
Member Avatar for ned69
0
110
Member Avatar for Fest3er

I've created a fairly simple method for obfuscating email addresses as an anti-spam measure. It should work for any browser that supports JavaScript and a fairly modern Document Object Model (DOM). A composer window in the user's default email application will be opened. First up is the javascript function that …

Web Development email html-css javascript
Member Avatar for Fest3er
0
166
Member Avatar for Torner

I wrote a beginner AJAX tutorial, you can view it here: <snipped> I hope it helps someone. Thanks!

Web Development javascript
Member Avatar for fwassenaar
0
85
Member Avatar for dks1383

Hi all How can I write a javascript code to change the alignment of a textarea so that the user can select a part of of a textarea and change the alignment of this part by clicking a button? thanks

Web Development javascript
Member Avatar for Fungus1487
0
114
Member Avatar for palcham

Hi I am searched about uses of InnerHtml through net but i didn't satisfy that information so if you known means please send me about uses of inner html Advance Thanks

Web Development html-css javascript
Member Avatar for temp304
0
142
Member Avatar for carko

Help please I am a newbie trying to learn. I have the time and attitude but I do need direction for what I am trying to do. I have a photo site that I am trying to redo. I am trying to create a page where on the bottom or …

Web Development php
Member Avatar for kevinly
0
97
Member Avatar for mrpeterc

Can someone point me in the right direction, what I am trying to do is use the result set that I have from a php query to a mysql table. I would like to be able to individually select a record from a query result that returns multiple records. I …

Web Development mysql php
Member Avatar for nav33n
0
95
Member Avatar for palcham

Hi I cann't unable to get count the selected list box items using javascript so you please help me. if you know means please send to me Advance thanks

Web Development javascript
Member Avatar for palcham
0
219
Member Avatar for manish_gajjar

Hi guys...Good morning...I have following code. <?php $pid=$_GET['pid']; $conn=mysql_connect('localhost','root','') or die("Cannot connect to server"); mysql_select_db('developer',$conn) or die("Cannot connect to database"); $sql="select cnode,item,pnode from listviews where cnode='$pid'"; $res=mysql_query($sql) or die("Cannot execute query"); while($ar=mysql_fetch_array($res)) { $itm=$ar[1]; $pid=$ar[0]; } $sql="select cnode,item,pnode from listviews where pnode='$pid'"; $res=mysql_query($sql) or die("Cannot execute query"); echo "<table border='1'>"; …

Web Development display php
Member Avatar for nav33n
0
99
Member Avatar for tariq04

hi i am new in PHP ,i am doing my job in a company and there are some existing project they tell to me plz check and remove errors ,i m trying more and more to remove this error but i m failure....plz help me. <?php require("header.inc.php"); session_start(); if(($useradmin)=='') { …

Web Development html-css javascript mysql php
Member Avatar for vssp
0
160
Member Avatar for stevendmar

Someone please help!! I am use to working with MS Access. So, for me, working with SQL is a downgrade at this point. But, I have to do it. I am working with Microsoft Visual Web Developer which apparently is supposed to be easy!!! The help feature is pretty extensive …

Member Avatar for ericstenson
0
100
Member Avatar for Taffd

Happy New Year everyone. Does anybody know how I can restrict access to a page to those users coming from a specific url. Thanks in advance Taffd

Web Development php
Member Avatar for Fest3er
0
106
Member Avatar for Cosmocrazy

Hi guys. I have a website that is meant for showing pictures. Right now, it's set up so that I have to make a new webpage and manually configure every picture (size, location etc) exactly how I want it. Here's what I mean: ([URL="http://cosmocrazy.x10hosting.com/Gallery-75/art1/shapesinspace.html"]example[/URL]) There is a frame on the …

Web Development image javascript
Member Avatar for MidiMagic
0
275
Member Avatar for Grantmitch1

Until I figure out how to create passwords in a MySQL Database Im relying on HTML scripts to work. This does work, everything is good, except if I put it on the web people can discover the code by viewing the source. Now my question is, is there someway I …

Web Development
Member Avatar for Grantmitch1
0
99
Member Avatar for bondi007

Hello, I want to make a forum but how do i go about this i dont want a free one i want a proper one with the phpbb 3.0 but how does it work and how do i set it up and what do i need any help would be …

Web Development php phpbb
Member Avatar for maurellis
0
176
Member Avatar for stupidenator

Hey everyone, I am new to Ruby on Rails and I am having a problem that I can't seem to figure out. I have a mysql database that I created and I have created a model for it. I have did not create a migration, as the database is already …

Web Development ruby web-browser
Member Avatar for stupidenator
0
122
Member Avatar for DATABASE

i need to upload a picture to a webpage it should be uploaded with its details (name,size,....) how can i do it

Web Development asp.net
Member Avatar for postmaster
0
113
Member Avatar for tefflox

Hello, I'm pleased to be here by way of the html forum. I've been using php for static pages for 18 months. I wanted to learn rails, but I just realized that I could configure my host to automate index.rhtml files just like php. This is a major motivator for …

Web Development html-css ruby
Member Avatar for pty
0
114
Member Avatar for gpsmike

Hello all. i'm real new to any scripting so please be gentle. I'd like to write a script based on the AddFileNamePlusDate.js for photoshop. For anyone who doesn't know this script gets the file name and adds a text layer of a photoshop document and places the file name text …

Web Development javascript
Member Avatar for gpsmike
0
164

The End.