I have the following line of code
PHP Code:
$alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "");
It gives an output like the following:
69 pictures, last one added on March 07, 2004
The problem is that I want to remove the last part of the sentence, so it only displays the # of pics and nothing else, like this:
69 pictures.
but every time I try to remove the last part of the code it gives a parse error, (sorry such file doesn't exist) as output.
Any clues?
Thanks