I want to get the browser width or device width for writing various condition based on width.I want to get the width on page load in php to write consitional statement
<?php
newt_init();
newt_get_screen_size (&$cols, &$rows);
newt_finished();
print "Your terminal size is: {$cols}x{$rows}\n";
?>
I caught error as shown below
Fatal error: Call-time pass-by-reference has been removed