Search found 6 matches

by thumbliner
Thu May 12, 2011 3:38 pm
Forum: PHP - Code
Topic: Session Variable
Replies: 3
Views: 271

Re: Session Variable

Chill out. Problem solved. Thanks for your time guys. :)
by thumbliner
Mon May 09, 2011 3:40 am
Forum: PHP - Code
Topic: Session Variable
Replies: 3
Views: 271

Session Variable

Need help declaring some session variable guys. I have a login form where the member enters his 1. Pilot Callsign 2. Password I want to declare that Pilot Callsign as the session variable on authentication. Using that Pilot Callsign session variable, I will fetch data from the database relevant to h...
by thumbliner
Sat May 07, 2011 7:28 am
Forum: PHP - Code
Topic: Too few arguments?
Replies: 2
Views: 524

Too few arguments?

The irritating novice is back!! :mrgreen:

Hey guys, need your help again.

I just coded an INSERT records page. But after all was done, this is the error I am getting. I fill the form and when I click, INSERT. I get this error.

Why?

Image
by thumbliner
Mon Apr 25, 2011 2:16 pm
Forum: PHP - Code
Topic: Trouble with IF
Replies: 6
Views: 637

Re: Trouble with IF

He will fill a form.

See, the flags and fields are not the problem. That I can manage.

I just want to know the code which will do this

If field is set, show the image and make it a link to domain.com/country
If field is not set, no image, no link, nothing
by thumbliner
Mon Apr 25, 2011 2:06 pm
Forum: PHP - Code
Topic: Trouble with IF
Replies: 6
Views: 637

Re: Trouble with IF

No Sir, I am having trouble with the IF command of PHP. As I said, I want to display all this only IF the country field is set. I only got as close as $image = "<img src=\"images/flags/{$row_rsPilots['country']}.gif\" alt=\"\" name=\"Flag\" width=\"20\" h...
by thumbliner
Mon Apr 25, 2011 1:32 pm
Forum: PHP - Code
Topic: Trouble with IF
Replies: 6
Views: 637

Trouble with IF

Hello everyone, I am new to this forum and PHP world. Doing my first project, a pretty complicated one to start with. I will be needing your help a lot to accomplish it. Here is the first one. 1. I have a certain field called 'country' 2. I have small flag icons for every country. WHAT DO I WANT TO ...