Forum: RSS, Web Services and SOAP 22 Hours Ago |
| Replies: 4 Views: 141 There are spaces and empty lines before the first tag... make sure you remove them. |
Forum: RSS, Web Services and SOAP 1 Day Ago |
| Replies: 4 Views: 141 This is the header I'm using:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
Forum: HTML and CSS 3 Days Ago |
| Replies: 3 Views: 162 Here's one:
http://purecssmenu.com/ |
Forum: PHP 4 Days Ago |
| Replies: 4 Views: 134 The mysql_fetch_array function does this. It retrieves the table columns by id AND by name. You can use mysql_fetch_row instead. |
Forum: HTML and CSS 4 Days Ago |
| Replies: 4 Views: 324 No, not yet, sorry. I must be overlooking something. |
Forum: IT Professionals' Lounge 4 Days Ago |
| Replies: 5 Views: 241 Personally I'd go for C#, but it also depends on the cloud platform you want to use. For example, see a demo on how to start with Windows Azure here:... |
Forum: IT Professionals' Lounge 4 Days Ago |
| Replies: 5 Views: 241 http://cloudcomputing.sys-con.com/ |
Forum: ASP.NET 4 Days Ago |
| Replies: 3 Views: 206 What is the error message ? |
Forum: PHP 5 Days Ago |
| Replies: 4 Views: 218 All you need is here: https://www.paypal.com/ipn |
Forum: PHP 5 Days Ago |
| Replies: 4 Views: 218 You can only do this by using a payment provider, like a bank, or paypal. |
Forum: HTML and CSS 9 Days Ago |
| Replies: 5 Views: 314 http://www.w3schools.com/TAGS/tag_fieldset.asp |
Forum: MySQL 9 Days Ago |
| Replies: 3 Views: 254 SELECT
elec.sum(votes) as votes,
stat.sum(rating) as rating,
votes/rating as percentage
FROM elec, stat
WHERE YEAR=2009
Only thing I'm not sure about is the YEAR = 2009 in the... |
Forum: PHP 9 Days Ago |
| Replies: 2 Views: 132 It all depends on the size of the scripts and how much they influence the webpage. |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 14 Views: 558 I think you need to add another ajax call to a php page that will return the result in html, so you can add it to a div. |
Forum: HTML and CSS 9 Days Ago |
| Replies: 4 Views: 324 <html>
<head>
<style>
.wrapper {
height:200px;
position: relative;
border: 1px solid #f00;
padding: 1px;
}
.box1 { |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 14 Views: 558 Damn... missed it completely. Your <label> tag isn't correctly closed. It is closed with </font>. Replaced it with </label> and now it works in Opera and IETester. |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 14 Views: 558 I see, opera has the same problem, although I cannot explain it at this moment. I'll keep looking. |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 14 Views: 558 I only have IETester, which shows my code snippet is working in IE6 (http://www.pritaeas.net/public/daniweb/poll/).
Could it be another part of the code ? |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 foreach ($pm as $match)
echo $match[2] . '<hr/>'; |
Forum: JavaScript / DHTML / AJAX 10 Days Ago |
| Replies: 14 Views: 558 I uploaded this to my server (saved it as index.php). Appears to be working in IE7 and IE8. Can you confirm ?
<div style="background-image: url(../images/poll_background_mid.gif);... |
Forum: JavaScript / DHTML / AJAX 10 Days Ago |
| Replies: 14 Views: 558 It's hard for me to test, without having the complete code (html and php), I can only guess at this point, because the code looks okay. |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 <?php
// Return a handle to a curl connection to the site you want to pull info from
$ch =... |
Forum: JavaScript / DHTML / AJAX 10 Days Ago |
| Replies: 14 Views: 558 I don't know why your specified a callback for the fadeIn, it doesn't appear to do anything. If you change success to the following, what happens ?
success: function() {
... |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 preg_match_all("~<p id=\"(\d*)\">(.*)<\/p>~", $cr, $pm, PREG_SET_ORDER); |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 Paste the line of code. Did you compare with mine ? |
Forum: HTML and CSS 10 Days Ago |
| Replies: 2 Views: 308 I'm guessing url(image/xx) should now be url(../images/xx) since the css has moved to a subfolder. |
Forum: JavaScript / DHTML / AJAX 10 Days Ago |
| Replies: 1 Views: 303 <html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
... |
Forum: JavaScript / DHTML / AJAX 10 Days Ago |
| Replies: 2 Views: 240 Like this ?
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
... |
Forum: PHP 10 Days Ago |
| Replies: 3 Views: 214 With Google image search you can find enough maps of Croatia.
You can try this for creating the coords: http://www.image-maps.com/ |
Forum: PHP 10 Days Ago |
| Replies: 3 Views: 214 Do you need to use a Google map, or is a plain image okay ? You can add polygons to a Google map, but I am unsure if it is possible to add a click to them. A normal image map can do the trick.... |
Forum: PHP 10 Days Ago |
| Replies: 7 Views: 277 Are you perhaps using the escape twice before storing the value in the db ? The slash shouldn't be in there. |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 I normally try my regexes in RegexBuddy from JGSoft. You can download a trial. It helps you build and test your regex. Maybe it's best you start from there. |
Forum: MySQL 10 Days Ago |
| Replies: 1 Views: 241 SELECT dname, cno, sectno, avg(grade) as avg_grade
FROM enroll
GROUP BY dname, sectno, cno
ORDER BY avg_grade DESC LIMIT 1 |
Forum: PHP 10 Days Ago |
| Replies: 7 Views: 277 The mysql_real_escape_string is intented to be used when you include a variable into an sql statement. You are just displaying the result. That is why you are shown a value with the extra slashes.
... |
Forum: PHP 10 Days Ago |
| Replies: 1 Views: 115 You should remove the include and use simplexml_load_file(). You cannot just include an xml file. |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 Try this. On the page are two <h2 class="center"> which will be extracted and shown.
<pre>
<?php
// Return a handle to a curl connection to the site you want to pull info from
//$ch =... |
Forum: PHP 10 Days Ago |
| Replies: 4 Views: 186 There may be something in session.php or config.php that adds spaces to the output (or more). |
Forum: PHP 10 Days Ago |
| Replies: 18 Views: 263 <p.*>(.*)</p>
<p.*> matches the opening tag
(.*) is a backreference to the remaining content
</p> matches the end tag |
Forum: JavaScript / DHTML / AJAX 11 Days Ago |
| Replies: 2 Views: 238 I don't know if you use jQuery, but I do, and I use this plugin for formatting floats:
http://code.google.com/p/jquery-utils/source/browse/trunk/src/jquery.strings.js |
Forum: MySQL 12 Days Ago |
| Replies: 4 Views: 305 No, use phpMyAdmin to export your database to an .sql file. It is a text file containing all queries to recreate your database. |