Jump to content

MySQL if/elseif/else statements


The Little Guy

Recommended Posts

That way takes too much time, I would like something like this:
[CODE]
IF search_condition THEN statement_list
    [ELSEIF search_condition THEN statement_list] ...
    [ELSE statement_list]
END IF
[/CODE]
It would be nice if I could get an example of that though.

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.