Jump to content
MakeWebGames

A little jelp with sql


weeder
 Share

Recommended Posts

Re: A little jelp with sql

 

I am trying to put a country flag in mainmenu and can't get this sql query right can anyone help please

 

$ct= mysql_fetch_object(mysql_query("SELECT coun_flag FROM countries WHERE coun_id = '{$ct['country']}'")); 
echo "<center>[img={$ir[]

 

a little more code would be better for someone to help... but at first glance... it seems you got $vars all messed up so it doesn't show...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...