Jump to content

stig1

Members
  • Posts

    107
  • Joined

  • Last visited

    Never

Everything posted by stig1

  1. I have a database which i can pull out the required records. However, after every 3 records I would like to put in the following code <div class="clear"></div> So my layout will not look messy. How would I go about doing this? So if there is 13 records pulled out of the database, I should have 3 records, than a clear class and then another 3 records, then another clear class and so on...
  2. $qsearch = the search term a customer enters in. The join I require is to find the search term in either table but no duplicate results. I have to fields that should join, however they are varchar(20) fields. tbl_prod.itmClass and tbl_prod_items.itmClass is a 1 to many relationship. If i put the value 80mm in the search box, I should be able to retrieve all the values related to 80mm. How do I go about making this join with the where statement? Cause it doesnt seem to be working for me!
  3. Hey Whats the best method to stop SQL Injection on all values entered into a database that the user gets to create?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.