parse msql fields - ATL library

/ Published in: PHP
Save to your folder(s)

to use apostrophs in the field values
i.e. st john's

Copy this code and paste it in your HTML
  1. //$this->parseField(field_name,$var_value)
  3. return $Database->openQuery("SELECT * FROM {$this->TableName} WHERE event_venue LIKE '".$this->parseField("venue_name",$venue_name)."' ORDER BY event_name");

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.