52,566 Archived Topics
Remove Filter ![]() | |
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 | |
I hv downloaded html to pdf convertor but i am not able to use css in pdf file. can anyone hrlp me. | |
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... … | |
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 | |
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 | |
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 | |
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 | |
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"; ?> … | |
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 … | |
![]() | 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 … |
[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 | |
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 … | |
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 | |
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 | |
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 | |
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 … Web Development actionscript file-stream file-system flash gui php xml | |
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 ? | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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/" … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … Web Development apache client-server php web-server windows-server | |
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 | |
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 | |
I wrote a beginner AJAX tutorial, you can view it here: <snipped> I hope it helps someone. Thanks! Web Development javascript | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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'>"; … | |
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 | |
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 … Web Development asp.net listview microsoft-access sql | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 |
The End.