nataraj: (Default)
[personal profile] nataraj
$sql_query = sprintf( "SELECT count(*) FROM pictures WHERE is_album = 0 and username = %s",
$gal->db_quote( $gal->get_username() ) );
$sth = $gal->dbh->prepare( $sql_query ) or $gal->error( "Database error", "prepare( $sql_query ): $!");
$sth->execute()
https://sourceforge.net/projects/alphons/

O_o

ЗЫ, а еще интереснее выглядит
$sql_query = sprintf( "SELECT count(*) FROM pictures WHERE is_album = 0" );
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

nataraj: (Default)
Swami Dhyan Nataraj

July 2024

S M T W T F S
 123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 21st, 2026 12:53 am
Powered by Dreamwidth Studios