I myself discovered the answer, simply put a space before the " and type=4"
bcz all the clauses in a query be seperated by a whitespace.
so it should be:
$query = $query . " and type = 4";
not:
$query = $query . "and type = 4";
Can we append/concat query string someway, because the followng code is giving a warning rather than executing the query including the concatenated part:
<?php
require_once ('conn_db.php');
$query = "select * from pm where city_id = 7";
$query = $query . "and type = 4";
$num =...
How can we embed html code part of the email body, if we are using the mail() function or is there any other of doing it i am using php 4 and using a similar code as follows:
$to = abc@abc.com';
$subject = 'ABC Subject';
$message = '<img...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.