Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
Ulitasch #1
something wrong..
I want to integrate following php-file into my Flash-movie, but something still
does not work.
The Php-file is like that:
Online it looks like that:
[url]http://www.ulla.nl/henri_ritzen/input.php[/url]
Thankx for any tips !!!
<?php
header("Content-type: text/xml");
$host = "localhost";
$user = "username";
$pass = "password";
$database = "db";
$linkID = mysql_connect($host, $user, $pass) or die("Could not connect to
host.");
mysql_select_db($database, $linkID) or die("Could not find database.");
$query = "SELECT * FROM home LIMIT 0, 9";
$resultID = mysql_query($query, $linkID) or die("Data not found.");
$xml_output .= "<rss version=\"2.0\">\n";
$xml_output .= "<channel>\n";
for($x = 0 ; $x < mysql_num_rows($resultID) ; $x++){
$row = mysql_fetch_assoc($resultID);
$xml_output .= "<item>\n";
$xml_output .= "<idder>" . $row['id'] . "</idder>\n";
$xml_output .= "<title>" . $row['title'] . "</title>\n";
$xml_output .= "<link>http://ulla.nl/henri_ritzen/content.php?id=" .
$row['id'] . "&expandable=" . $row['menuLink'] . "</link>\n";
$xml_output .= "<enclosure url='images/" . $row['doc'] . "' type='" .
$row['ext'] . "'/>\n";
$xml_output .= "</item>\n";
}
$xml_output .= "</channel>\n";
$xml_output .= "</rss>";
echo $xml_output;
?>
Ulitasch Guest
-
What am I doing wrong?
> rs.Source="SELECT id From User Where upper I asked this before... Try sql = "SELECT id FROM user WHERE UPPER(cLoginID) = '" & vUserID &... -
What is wrong?
Take a look at your Stored Procedure. It takes a wide variety of data types. But in your code, you use an overloaded version of the Add() method of... -
What am I doing wrong???!?!
I have a simple form that based on the the two inputs, ExAD_Tracking and ExAD_DateEntered, will query the database and display the records... -
What am I doing wrong
I am trying to fade in an image over time, however the image keeps blinking, it fades in all the time. Below is my script. on exitFrame me go to... -
What am I doing wrong with this SP??
Gives me a NULL value at this line. and I know it has a 1 myShippingDetails.theShippingType = CStr(parametertheShippingType.Value) Public... -
Ulitasch #2
Re: something wrong..
with this code (without database) it works...
<rss version="2.0">
<channel>
<item>
<idder>0207</idder>
<title>1 project benaming</title>
<link>http://www.klebowax.com</link>
<enclosure url='images/video.flv' type='flash/flv' />
</item>
<item>
<idder>0207</idder>
<title>2 project benaming</title>
<link>klebowax.com</link>
<enclosure url='images/video.flv' type='flash/flv'/>
</item>
<item>
<idder>0207</idder>
<title>3 news items</title>
<link>klebowax.com</link>
<enclosure url='news/news_01.swf' type='flash/swf' />
</item>
</channel>
</rss>
Ulitasch Guest



Reply With Quote

