Problem with html tags on server side.

Problem with html tags on server side.

tolimavtolimav Posts: 1Questions: 0Answers: 0
edited February 2010 in General
Hello one my congratulations for your creation!

But I'm having trouble putting the following tag $ sOutput .= ' " "';
the table displays Processing ...

Following is my code.

[code]
$gaSql['link'] = mysql_pconnect( $gaSql['server'], $gaSql['user'], $gaSql['password'] ) or
die( 'Could not open connection to server' );

mysql_select_db( $gaSql['db'], $gaSql['link'] ) or
die( 'Could not select database '. $gaSql['db'] );

/* Paging */
$sLimit = "";
if ( isset( $_GET['iDisplayStart'] ) )
{
$sLimit = "LIMIT ".mysql_real_escape_string( $_GET['iDisplayStart'] ).", ".
mysql_real_escape_string( $_GET['iDisplayLength'] );
}

/* Ordering */
if ( isset( $_GET['iSortCol_0'] ) )
{
$sOrder = "ORDER BY ";
for ( $i=0 ; $i

Replies

  • allanallan Posts: 63,700Questions: 1Answers: 10,501 Site admin
    Your string isn't valid PHP by the looks of it. Try:

    [code]
    $sOutput .= '""';
    [/code]
    Your web-server should be throwing an error about this. Have a look in the XHR return in Firebug - there should be a PHP warning there.

    Allan
This discussion has been closed.