SourceTec Software

It is currently Fri Apr 18, 2014 2:35 pm

All times are UTC + 8 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: people HELP me please...
PostPosted: Wed Jan 28, 2009 11:26 am 

Joined: Tue Jan 27, 2009 10:42 am
Posts: 5
trying to get some entries from a MySQL Database to be output to a news scroller.
i used example...the code scroller.php:
(but not work, the photos do not appear)



$dbhost = "localhost"; // DB Host name
$dbusername = "root"; // DB User
$dbpass = ""; // DB User password
$dbname = "fotos"; // DB Name
$query = "select * from usuarios";
$connection = mysql_connect($dbhost, $dbusername, $dbpass);
$resultComment = mysql_db_query($dbname, $query);
$numrowsComment = mysql_num_rows($resultComment);

for ($i = 0; $i < $numrowsComment; $i++)
$rowComment = mysql_fetch_array($resultComment);
$Comment = $rowComment["foto"];
sts_ai("i0",[1,"<?=img/$Comment?>","","_self","",80,100,"center"],["transparent","bold 9pt Arial","#000000","none","9pt Verdana,Arial","#FFFF00","none"]);

please help me.

 Post subject:
PostPosted: Wed Mar 04, 2009 2:35 pm 
Support Team
Support Team

Joined: Thu Jan 04, 2007 8:07 pm
Posts: 987
Hi there,

Sorry for reply delayed! Did you resolve the issue reported?

If it does not, we hope you can provide us with the web pages and the scroller SJC for further check.

Thanks a lot!

This forum is ONLY for user discussion.
Click here to Submit a Support Request for prompt professional assistance from Sothink Customer Service

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group