Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. revone

    Concatonation syntax

    I have a database in which only some of the records have a photo associated with them. If the photo exists, I want to display it. If there is no photo, I don't want to display anything. My images are located in the folder called "../images/recipes/320/". Each image is named according to the...
  2. revone

    Correct syntax for if/then using LIKE

    Thanks! This worked like a charm. <?php if(strpos ($row_rs_recipe['Recipe_Intro'], "clickserve") !== FALSE) echo '<img name="Checkmark" src="../images/checkmark.gif" alt="Yes">'; else echo '<img name="Spacer" src="../images/spacer.gif" alt="No">'; ?> Now, how do I expand this to look for...
  3. revone

    Correct syntax for if/then using LIKE

    I have an html table with repeating rows in which I want to display a checkmark if the record contains "%clickserve%" in the field $row_rs_link['Intro'] and nothing if it does not. The code works as expected if I change LIKE to == or <>, but php throws a unexpected T_STRING error when I use...

Part and Inventory Search

Back
Top