:: Forum >>

using mysql, AW doesnt display even the grid

Hi,

I have 2 web servers and AW is working properly on server A and not working on server B(no grid is being displays when using mysql).

I have tried to manually insert data(xml) and run it on server B and i can see the grid, it's working. Now when I place the mysql codes, it doesn't show the grid at all.

$connection = @mysql_connect('x.x.x.x', 'root', '123');
@mysql_select_db('testdb', $connection);
$query = 'SELECT * FROM mytable LIMIT 0,10';
$dataset = @mysql_query($query, $connection);
........
var myHeaders = <?= aw_headers($dataset) ?>
var myCells = <?= aw_cells($dataset) ?>

I have place a working php page from server A to B and still no luck.

What can I do to troubleshoot further?


Thanks!
John
Tuesday, July 3, 2007
bump
John
Tuesday, July 3, 2007
Try to look at the html/script (view source from the page menu) and see if it is different between A and B.
Alex (ActiveWidgets)
Tuesday, July 3, 2007
thanks much, it's working fine now! it was a php tag systax.
Wednesday, July 4, 2007

This topic is archived.


Back to support forum

Forum search