Jump to content

[SOLVED] problem with this sytanx sorry :)


spdwrench

Recommended Posts

I need help with this syntax

 

please tell me what Iam doing wr

$nPhoto = f(q("SELECT filename_$photo_id FROM dt_photos WHERE member_id='$fMember[id]'"));
if ($nPhoto!=""){ 

$image=$nPhoto[filename_$photo_id];
$itype=substr($image,strlen($image)-4,4);
$image=substr($image,0,strlen($image)-4);
$image="../photos/".$image."_thumb".$itype;
$avPhoto = f(q("SELECT user_avatar FROM phpbb_users WHERE username='$fMember[login]'"));
echo $avPhoto[user_avatar];echo"<br>";
echo $image;

Link to comment
https://forums.phpfreaks.com/topic/71716-solved-problem-with-this-sytanx-sorry/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.