Jump to content

LucosidE

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

LucosidE's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am using echo to display a table with data from mysql database. Since there is quite a bit of data I want it to display as fast as possible. What is the faster way to echo elements of the row i get from mysql query result? Right now i am doing echo "blah {$row['foo']} blah"; before i had echo "blah".$row['foo']."blah"; but using the . seems slow the other options are: 1: $element = $row['foo']; echo "blah $element blah"; 2: Use a stringBuilder library found here: http://cfgmgr.mirrors.phpclasses.org/browse/file/23722.html it uses sprintf to concat strings on lower level All suggestions are appreciated, Thank you in advance Luco
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.