Forum: PHP Sep 8th, 2009 |
| Replies: 1 Views: 264 Hello,
I am retrieving results from a RSS feed, but not all results have a title. I would like to run something like the below code which, lets me know how many times a title is empty.
If... |
Forum: PHP Jun 7th, 2009 |
| Replies: 8 Views: 1,776 $prnt0 equals 'entry'
<?PHP
$gurl = 'search.twitter.com/search.atom?lang=en&q=devo'
$getUrl = $gurl;
$resUrl = new DOMDocument();
$resUrl->load($getUrl); |
Forum: PHP Jun 7th, 2009 |
| Replies: 8 Views: 1,776 I got the following running print_r($webResults);
"DOMNodeList Object ()" and that is all.... |
Forum: PHP Jun 6th, 2009 |
| Replies: 8 Views: 1,776 I am trying to parse a XML document but can not seem to parse both Childnodes and Attributes in the same Foreach statement.
=====================
PHP CODE
=====================
<?PHP... |
Forum: PHP May 26th, 2009 |
| Replies: 2 Views: 513 Talk you all for the help with combining two RSS feeds. I found that BuildaSearch has a an API which can combine two data sources into one.
Cheers! |
Forum: PHP May 12th, 2009 |
| Replies: 2 Views: 513 I am trying to merge two different RSS sources with the same structure into a single list concurrently. I have two foreach statements but would like to combine them. Problem I can not turn a DOM... |
Forum: PHP May 8th, 2009 |
| Replies: 0 Views: 338 How would I go about combining two seperate rss feeds to appear as one list in PHP?
example:
abc.com/horse/rss
monty.com/cow/rss
=== results ===
1.) lovely horses
2.) great looking... |
Forum: JavaScript / DHTML / AJAX May 1st, 2009 |
| Replies: 7 Views: 2,281 you can see the original code behavior at the following http://89.233.173.91/bug/ It works with any browser except IE. Have tried not escaping and get the same error.... |
Forum: JavaScript / DHTML / AJAX May 1st, 2009 |
| Replies: 7 Views: 2,281 The code does not work, because of some weird whitespace being passed that is what microsoft said. YOu can see the code in function at the below url. It works with all browsers except Internet... |
Forum: JavaScript / DHTML / AJAX May 1st, 2009 |
| Replies: 7 Views: 2,281 The code I originally posted works in function but according to the Internet Explorer Team they found.
===== IE Team Response =====
From an analysis of the IE folks, it seems that the problem is... |
Forum: JavaScript / DHTML / AJAX Apr 30th, 2009 |
| Replies: 7 Views: 2,281 Have been trying to figure this one out for some time, but still can not get this AJAX script to work with Internet Explorer. It works with all other browsers. Thanks in Advance!
FORM CODE
... |
Forum: PHP Feb 25th, 2009 |
| Replies: 3 Views: 660 It turns out that the my initial code was working, but where the problem occurred was I forgot to add "<?xml version="1.0" encoding="utf-8"?>" to the beginning of the "$information" value.
... |
Forum: PHP Feb 24th, 2009 |
| Replies: 3 Views: 660 Your method worked perfectly, but like you said, after converting everything "&" to "&" etc... I will wait till early tomorrow see if anyone else posts an answer to "parsing" using DOM. Reason... |
Forum: PHP Feb 24th, 2009 |
| Replies: 3 Views: 660 I am trying to parse the the following xml code below, I need to retrieve only totalhits="376719" in the "resultset_web" child.
I also need to use code similar to the following:
<?php
$doc =... |
Forum: PHP Dec 10th, 2008 |
| Replies: 6 Views: 3,968 Thanks for the code sample, I will test it out! |
Forum: PHP Dec 9th, 2008 |
| Replies: 6 Views: 3,968 How would I go about uploading and resizing a transparent PNG, GIF image using PHP? I have a script but it only works with JPG images and of course JPG images do not support transparent images.
... |
Forum: JavaScript / DHTML / AJAX Nov 19th, 2008 |
| Replies: 4 Views: 1,446 Ok, I will test it out later today. Thanks! |
Forum: JavaScript / DHTML / AJAX Nov 19th, 2008 |
| Replies: 4 Views: 1,446 The external sites will have a fixed width, but not a fixed height. The height would range from 700 pixels-850pixels. Just looking for something that measures a height of an external site, with no... |
Forum: JavaScript / DHTML / AJAX Nov 19th, 2008 |
| Replies: 4 Views: 1,446 Hello,
I am trying to resize an external website in an iframe using javascript, but have not found code that works very well. Anyone know how to go about it? Thanks in Advance! |
Forum: PHP Nov 19th, 2008 |
| Replies: 7 Views: 678 Keith, the code works wonderfully! Thanks again! Cheers! |
Forum: PHP Nov 19th, 2008 |
| Replies: 7 Views: 678 ok , got, will try it out, and post my results! Thanks! |
Forum: PHP Nov 19th, 2008 |
| Replies: 7 Views: 678 i am not sure where your sample code is.... |
Forum: PHP Nov 19th, 2008 |
| Replies: 7 Views: 678 ok I have formatted the results. Let me know if that will work. |
Forum: PHP Nov 18th, 2008 |
| Replies: 7 Views: 678 I am having problems retrieving distinct records from a XML record. I am using the following code but seem to have the same image in an entire row. Thanks in Advance!
view demo code demo... |
Forum: JavaScript / DHTML / AJAX Nov 15th, 2008 |
| Replies: 0 Views: 1,343 Hello, I need to resize an I-fame according to the height of an external page. I have found some google code that does what I need but it is way bloated. Anyone how to do what this code does but... |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2008 |
| Replies: 1 Views: 1,129 I have the following Iframe.
<iframe id="result" style="width:400px;overflow:-moz-scrollbars-none;overflow:hidden" scrolling="0" frameborder="0"></iframe>
Want to disable the scroll-bars... |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2008 |
| Replies: 2 Views: 604 My first question, was answered and received the following code via Yahoo! Answers.
Pass your form data as a parameter to the second page. Have the second page parse the parameter from the... |
Forum: JavaScript / DHTML / AJAX Nov 10th, 2008 |
| Replies: 2 Views: 604 I have two pages 1.) form page 2.) I-frame page.
What I am trying to do is: Once the form page is submitted, javascript in the second page would retrieve the values and place them into a an... |
Forum: PHP Sep 10th, 2008 |
| Replies: 2 Views: 1,789 The code that ended up working for me is below. I have included only the ajax javascript Thanks to all for your help!
var settings = getXmlHttpRequestObject(); function savePreview() {
if... |
Forum: JavaScript / DHTML / AJAX Sep 5th, 2008 |
| Replies: 7 Views: 2,891 I am using only two radio buttons. 1 for yes and 0 for no. |
Forum: JavaScript / DHTML / AJAX Sep 5th, 2008 |
| Replies: 7 Views: 2,891 Hello,
I am having problems retrieving correct values from two radio buttons in my AJAX script below.
The radio button values are either a 1 or 0 and always produces 0 regardless of which... |
Forum: PHP Sep 5th, 2008 |
| Replies: 2 Views: 1,789 Hello,
I am having problems retrieving correct values from two radio buttons in my AJAX script below.
The radio button values are either a 1 or 0 and always produces 0 regardless of which... |
Forum: JavaScript / DHTML / AJAX Sep 5th, 2008 |
| Replies: 2 Views: 1,629 The actual code is running in proper javascript format. when i posted the question I had not slept. The correct format is the following:
<script type="text/javascript">
var settings =... |
Forum: JavaScript / DHTML / AJAX Sep 5th, 2008 |
| Replies: 2 Views: 1,629 Hello,
I am having problems retrieving correct values from two radio buttons in my AJAX script below.
The radio button values are either a 1 or 0 and always produces 0 regardless of which... |
Forum: PHP Mar 8th, 2008 |
| Replies: 3 Views: 1,816 what is the best way to validate the $_GET['q'] string? |
Forum: PHP Mar 7th, 2008 |
| Replies: 3 Views: 1,816 Can not get the following code to delete Jack.... What is wrong with the code?
<?php
===QueryString===
delete.php?q=169|170|171|
$arr = explode('|', $q);
for ($i = 0; $i < count($arr);... |