3.0 beta 2

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
July 3,
bump
John
July 3,
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)
July 3,
thanks much, it's working fine now! it was a php tag systax.
July 4,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.