How to write select query using case statement in php

How to write select query using case statement in php to retrive data

Page 1 of 1

3 Replies - 4395 Views - Last Post: 13 October 2010 - 06:30 AM Rate Topic: -----

#1 priyankamalusare  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 11-August 10

How to write select query using case statement in php

Posted 12 October 2010 - 10:14 PM

hi

i wanted to know how to write the select query using case statement for retrive the values from database.
Is This A Good Question/Topic? 0
  • +

Replies To: How to write select query using case statement in php

#2 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5348
  • View blog
  • Posts: 27,305
  • Joined: 10-May 07

Re: How to write select query using case statement in php

Posted 12 October 2010 - 10:16 PM

General use of select in MySql
Was This Post Helpful? 0
  • +
  • -

#3 priyankamalusare  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 11-August 10

Re: How to write select query using case statement in php

Posted 12 October 2010 - 10:43 PM

View Postno2pencil, on 12 October 2010 - 09:16 PM, said:



i know select statement.but here i wanted to use case statement for the values.can u tell me the proper syntx of

select query using case statement.
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3000
  • View blog
  • Posts: 10,393
  • Joined: 08-August 08

Re: How to write select query using case statement in php

Posted 13 October 2010 - 06:30 AM

http://dev.mysql.com...-statement.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1