Announcement

Collapse
No announcement yet.

missing value when passing through links.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • missing value when passing through links.

    i passed these value from a link to page A

    PHP Code:
    admin.php?action=addRe&category_ID=$id 
    and then from page A i passed these values to page B.

    PHP Code:
    <a href=\"admin.php?action=writeRe&cat_ID=$category_ID\"><b>Write a review</b></a> 
    i did put hidden field but i can't get the cat_ID in page B. in the url, the cat_ID do have value but when i have this sql query:

    PHP Code:
    $sql "SELECT * FROM cat_review WHERE cat_ID = '$cat_ID'";
            
    $result mysql_query($sql);

            
    $record mysql_fetch_array($result); 
    cat_ID don't have any value. wat is wrong? pls help..
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X