retrieve value from db in php

Posted by wangdoo on Stack Overflow See other posts from Stack Overflow or by wangdoo
Published on 2010-12-24T09:32:40Z Indexed on 2010/12/24 9:54 UTC
Read the original article Hit count: 179

Filed under:
|

I have a db in which 1 column value will be always null.I want it to pass to next page but it is passing all values of other column except this null value column.

This is my code

    $row=mysql_query("SELECT * FROM `thirdpartycategorymaster` WHERE ISNULL(`delete`)");
    while($row1=mysql_fetch_array($row))
    {


  <td><b><a href="catdel.php?head1=<?php echo $row1['ThirdPartyCategoryName'] . '&&msg1=' . $row1['ThirdPartyCategoryID'] . '&&ctdel=' . $row1['delete']; ?> ">Delete</a></b></td>

This my db table ThirdPartyCategoryID ThirdPartyCategoryName delete 29 ecommerce NULL

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql