Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter decaturds

    (@decaturds)

    I don’t find anything that says orderby. Do I need to add it? Perhaps it just defaults by content ID?

    <?php
    $sql = “select * from wp_physician where (physician_name like ‘%”.$_GET[“ph”].”%’ and specialities like ‘%”.$_GET[“ss”].”%’ and location_name like ‘%”.$_GET[“pn”].”%’ and o_address like ‘%”.$_GET[“sn”].”%’) and usertype=’physician'”;
    $result = mysql_query($sql);
    while($row=mysql_fetch_array($result)) {
    extract($row);
    $specialities = str_replace(“,”,”, “,$specialities);
    ?>

Viewing 1 replies (of 1 total)