Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2802

Extension Writers Discussion • Re: Please help me understand the ( for loop ) in templates

$
0
0
My mistake, I didnt post all the code.
This is probably your concern:

Code:

switch ($this->db->get_sql_layer()){case 'postgres':$random = 'RANDOM()';break;case 'mssql':case 'mssql_odbc':$random = 'NEWID()';break;default:$random = 'RAND()';break;}

Statistics: Posted by Stoker 4.0 — Wed Apr 16, 2025 6:53 pm



Viewing all articles
Browse latest Browse all 2802

Trending Articles