title: Mysql how is ISNUMERIC() available?
body: <p>In MSSQL i am using query like below, and it will make different queries depending what i have in $search: text or numbers.</p>
  
  <pre><code>$query="
                  IF (isnumeric('$search')=0)
                  SELECT *
                  FROM giper
                  WHERE `name` LIKE '%$search%'
                  ORDER BY `art`, `name`
                  LIMIT 20
  
                  ELSE
                  SELECT *
                  FROM giper
                  WHERE `art` LIKE '$search%'
                  ORDER BY `art`, `name`
                  LIMIT 20";
  </code></pre>
  
  <p>How i can do the same in MySQL?</p>
  
  <p>Thank you.</p>