52,566 Archived Topics
Remove Filter ![]() | |
Hi, I am trying to load an Rss link and add the data into an array. Here is what I am trying: [ICODE]<?php $doc = new DOMDocument(); $doc2 = new DOMDocument(); $bbcLink='http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml'; $cnnLink='http://rss.cnn.com/rss/edition.rss'; $reutersLink='http://feeds.reuters.com/reuters/scienceNews'; $doc->load($bbcLink); $arrFeeds = array(); foreach ($doc2->getElementsByTagName('item') as $node) { $itemRSS = array ( '<p class="style1">' => … | |
hey, i am working on a webdesign for my boss and i was doing some scripting cause he wanted to be able to "zoom/enlarge" something using a simple zoombutton. the code i wrote works perfectly in firefox en safari, but in ie7 and ie8 it just doesn't :( [CODE=prototype]var checker=true; … Web Development javascript | |
What's wrong? Why don't work stop funkction? I think that the poor turn to the function, but otherwise I do not know ... [code=html]<html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function() { //Paleidimo funkcija var time_ref = setTimeout(function() { var time_ref2 = setInterval(function() { $('#time_now').load('time.php?id='+ Math.random()); }, 1000); }, 3000); //Laiko … Web Development javascript javascript-jquery | |
Hi, [CODE]I'm trying to allow sorting my gridview writing in the code behind page. My code for Bind the GridView is like this: Private Sub BindMyGridView() Dim DatabaseConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("MyServer").ConnectionString) Dim adapter As SqlDataAdapter = New SqlDataAdapter Dim selectSQL As String = "SELECT * FROM Clients WHERE id = … Web Development asp.net | |
Hey Guys, I have a Details View and I ahve enable editing in it. But on clicking the edit button all the fields are editable. I want only one field to be editable. Please suggest Web Development asp.net | |
Dear Friends. :) I am new to this forum and php coding as well. 1. I would like to know whether we can able to [B]import .xls excel[/B] file contents into the [B]mysql database[/B] table using [COLOR="Red"]php[/COLOR].? Objective: User has to browse the excel file from their system and import … | |
Hi, I'm was asked to create a search engine. The same search on data in a MySQL service. Right now it work, but the search query is not powerful. How I can improve it and make it a good search engine? [CODE=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
Hi, with Mozila everything work, but with IE didn't work. Page didn't reload. What's wrong? [code] <html> <head> <script type="text/javascript"> setInterval("sendRequest()", 1000*2); function createRequestObject() { var req; if(window.XMLHttpRequest){ // IE 7, Firefox, Safari, Opera... req = new XMLHttpRequest(); } else if(window.ActiveXObject) { // Internet Explorer 6, 5 req = new … Web Development javascript | |
[code]echo "<td> <input type=\"text\" name=\"name$i\" size=\"10\" readonly=\"readonly\" value="; echo $row['name']; echo " /> </td>";[/code] currently,if there is a value in column name,i.e mr john, only mr will be shown in the value.i've check with my mysql_fetch_array and all others,seems like when i echo $row['name'] outside the <td>,mr john will appear,only … Web Development php | |
Hi I have a table which I am trying to pull some data out of. I am trying to select all the data where one field matches two numbers. [CODE]mysql_query ("SELECT articles.*,articles_comments.* FROM articles LEFT JOIN articles_comments ON articles.id= articles_comments.articleid WHERE articles.cat_id='$cat_id' AND articles.status='1');[/CODE] what I want to do is … Web Development php | |
Ok, I will be honest - my first javascript challenge is a little hard, but has been handed down to me from my uncle. He doesnt know how to do it, and thinks a fresh mind might be able to make sence of it. Fresh meaning fairly new to js... … Web Development javascript web-server | |
Hi, I don't know anything about PHP but my site has a ready made template with the following block of code which produces an image stored on my server and links to page on my site: [code] <block type="core/template" after="-" name="left.permanent.callout-2" template="callouts/left_col.phtml"> <action method="setImgSrc"><src>images/media/col_left_callout-2.jpg</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service … Web Development php | |
Hi All, I need information of a better Java hosting service (better in terms of performance, security, storage, reliability). So if any of you know such kind of service provider thn kindly let me know ASAP. It would be great help from your side. :) Thanks, Priti | |
hi guys i need some help with my code im new to php and im trying to create a login page. i have created MYSQL database to go along but whenever i try to login - it brings me to myaccount.php and just displays Access Denied no matter what input, … | |
Hi there I have been searching round the internet for the last few days trying to find a tutorial that would help me make a contact form that then uses server side and client side code (PHP/Ajax) to validate the fields so that it is degradable if the user has … Web Development client-server email javascript-jquery php | |
i wanted to make the input type=text name="" to be incremental i.e. a1,a2,a3 according to the loops generated by sql query the question is,how to specify which name to be read to the next page.code fragments might help better yeah? in one of my .php script,i have this fragment of … Web Development php | |
I'm having difficulty loading images via Ajax on a site that I've been working on. I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into … Web Development javascript | |
Anyone knows the best book of php5, in which author teaches to create an object oriented shopping cart, step by step. Or if anyone knows about some great series of tutorial in which we can have the same stuff. Web Development php | |
I just installed php 5.3 and apache 2.2 on my computer. While Apache seems to know I have php(it shows php 5.3 on the bottom of the apache monitor) when i tried to load a page with phpinfo() nothing shows up. I know i have the right syntax(i have used … Web Development apache php windows-xp | |
Ok I have been trying for hours and hours to stop my image upload script from uploading the same image whenever a user refreshes the page. I have tried unlink, unset and redirecting the user and back. It still won't quit. I have literally unset every single input element in … Web Development php | |
I've been working on trying to solve the problem of calculating the average of a row of numbers in which some of the cells have a null value. I'm convinced there's no easy way to do this. I found an example on the net that I have been working from … Web Development php | |
Hi,i am newbie is it possible for user upload the image(flower) and search for the same /similar image(flower) by using jsp/PHP and MYSQL? thanks:-) | |
hi friends, am a student,pursuing my graduation in computer application... i am in my efforts to perform a coding for a chess game between two persons who play with each other from different computer systems through internet. i want to know about how i can code in such a manner … Web Development javascript | |
hi all there ! I have problem with java file object that when ever i want to delete a file from the server i have check whether its exist or not for this i get fileObject.getAbsolute path but it return me wrong path but i get path from db a … Web Development file-system java-jsp session | |
hi........... i have try to create some dynamic control at run time in my application . but i cant handle it event or cant mantain its state. can any body tell me ? Web Development asp.net | |
Hey all i m trying to send progaramatically an email to user. i receive message "Email sent successfully".but email is not deliveing... i have two problems 1.Email sent to yahoo id is in queue from yesterday as i checked it in Inetpub>mailroot>queue. 2.Email sent to hotmail id is neither in … | |
Hello, I have a menu.jsp included in all the jsps. When I click a link in the menu it calls the respective page and the menu.jsp is also refreshed. I want to write a java script to highlight the menu link that was clicked. But since the menu jsp is … Web Development java-jsp javascript | |
Hi, I have problam whit jquery. Whit IE work everything OK(work fine), but whit Mozila or Opera i have problam: Hirs function "sec" work, fine, but secont in file index2.php "sec3" don't. index.php [CODE] <html> <head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function(){ var sec = setTimeout(function() { $('#sec').load('index2.php?id='+ Math.random()); }, 1000); … Web Development javascript javascript-jquery | |
Hey All im kinda new with javascript and I have a lil script made but need to add to it but kind of lost on what to do. Its a gallery that works fine but i have a part where there are two images a before and after. one image … Web Development image javascript | |
i went to tizags ajax mysql tutorial(how to update mysql with ajax) i dont understand it seems like that example is wayyyyy too long i cant comprehend it it makes no sense. does anyone know of a good way to explain to me how to update / insert a value … Web Development javascript mysql | |
Hi all, Having an issue with "selectedIndex" (for a select field). Basically I'm creating XML code via a server-side PHP file and retrieving this code through AJAX. Once I retrieve the data, I'm placing it in their appropriate fields. This is the XML output: [CODE='XML']<response> <data> <row> <item>ProductEight</item> </row> <row> … Web Development javascript xml | |
ok so i am trying to make a program that is able to viewed on the web using mysql and php together. i have to show a little icon or something saying would you like to view the listing you submitted. this is my program but i keep getting a … Web Development mysql php web-server | |
or paid even? Community websites like facebook, soulmates and etc..? Please recommend any if you know.! thanks! Web Development php | |
Are there any benefits of offering php software developers free php open source software? how can a business profit from this? Web Development open-source php | |
hello people, here is a piece of AJAX that i have used in my JS file. It's working fine with IE but somehow the page does not load in Firefox. [CODE]function secondRead(){ if(xmlHttp.readyState == 4){ if (xmlHttp.status == 200) { try{ var status = xmlHttp.responseText; alert(status); status = status.split(":")[0]; status … Web Development advertising engineering javascript legal publishing web-design | |
I am making a online movie tickets booking website and in my index page I have 5 drop down boxes movies, timings, theatre name, date and price. All these drop down boxes use 2 sql tables. What I need is that the drop down boxes get populated from the databse … Web Development java-jsp | |
Hi guys, i am new to JSP that is why i look forward your assistance. I have a JSP page where 3 drop down lists are. on the basis of selected value from first drop down i need to have trigg new values into 2nd drop down and similarly in … | |
hi, i selected everything from the table and the direct variable $cResult[3] would give me something like "street address with space as delimiter" ... however, when i tried to use it, it will give me only "street" instead of "street address with space as delimiter". does anyone know how i … Web Development php | |
Hi, I am trying to learn php and when I feel i understand a concept I like to try it out by writing a script or 2. I am currently attempting to create an image on the fly, like a button. I keep receiving the message: Warning: imagecreatefrompng(red-button.png) [function.imagecreatefrompng]: failed … Web Development file-stream php | |
I have a problem. I have a page with a default avatar image and a input box below it. Its a form. The thing i want to do is that, i want the default avatar image replaced after a user selects a image from the input tag. my code is … Web Development display image javascript | |
Frenz, I used the below code to export to PDF format from my ASP.NET application. However while opening the generated PDF file, it says the file has corrupted. Please let me know if I coded anything wrong, or I need at add/remove any properties in the code, Or if there … | |
hello, am new to this site and i know very well that i have so much to learn about php. actually, i need a php script that can email username and password to a private email. although, i have one but it doesnt have the lines that can email the … | |
Hi everyone! I will try to give you as much info as possible to solve this quick! I am reading the Apache_Php_sql weekend crash course and I am stuck on testing my php installation. Here's what I have so far. Vista Installed Apache 2.2.11 listening on port 80 at "c:\server". … Web Development apache php windows-server windows-vista | |
Hi every body..! I'm new to the php, but i know a little like some syntax and all... but i don't know how to start with php.. i need your help in [COLOR="Red"]1. How to start in php 2. What are the softwares require and how to instal and configure … Web Development php | |
Hello Guys, I would like to know if its possible to have a form with four felds which when i press submit it stores the details to database and then excel or directly to excel, iv been searching around, and couldnt find much information, so would apericiate so help. Or … Web Development php | |
Hi, I need to capture the delete key event onclick on DIV. I wrote the below code using jQuery. [code]$("#DIVID").keydown(function(event){ // delete key works with IE if(event.keyCode == 46) { // delete code goes here }[/code] This is working fine in IE but not on Mozilla, Safari. Please do the … Web Development javascript | |
is it good to ask whats the use of id while working with php.... if u talk abt property . whose property is it.. the link of the present web page or that of the destination page that the codes makes the page to get redirected.......... Web Development php | |
Hi all, Having a strange issue here. To help explain my situation, I have some images I'd like to include. This first image is of one of two user input forms. Notice in the top left of the picture, the second tab is selected. [IMG]http://www.abexal.org/image_1.jpg[/IMG] The arrow is pointing to … Web Development html-css javascript | |
This is kinda driving me crazy, maybe its just one of those days. I have this If loop that I feel like its extremely redundant but I cant find a way to make it shorter [CODE]function validateYear (valfield, infofield, required) { var stat = commonCheck (valfield, infofield, required); if (stat … Web Development javascript |
The End.