qorn Posted June 16, 2004 Share Posted June 16, 2004 Thanks for looking I have made a script up that will check that the item is in stock, and it will display one message if it is in stock and another if it isnt. If ($product_info['products_quantity']<>0){ echo ("To Ask the LineMan for more Infomation or Reservations regarding this item please click on the contact us"); }else{ echo ("If you wish to be notified that the resevation has fallen through please contact the lineman"); } What I need it to do is to display this if it is in stock To Ask the LineMan for more Infomation or Reservations regarding the (Item Name) Please Click Here and this if it isnt. Sorry this item is on reserve, please click here to contact the lineman if you wish to be notified of the current sale falls through Here is my existing link code <td align="center" class="contacttext"><a href="ask_a_question.php?products_id=<?php echo $product_info['products_id']; ?>" ONMOUSEOVER="window.status='.:: Contact the LineMan about this equipment ::.'; return true">To Ask the LineMan for more Infomation or Reservations regarding the "<?php echo $product_info['products_name']; ?>" Please Click Here</a></td> Any help is gladly recived Kind Regards Dave My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.