thank you
thank you for the valuable suggestion
User Profile
Collapse
-
image manipulation
I need to convert a text into a png image so that i can put it over a image.
Can anyone give me any suggestions on where to find good tutorials for it.
I have looked into many but haven't quite found what i am looking for.
I need to convert the text into png image and insert it over an already existing image -
need to redirect to same page
after validating a form i need to redirect to same page. could anyone give me some ideas.its urgent -
sql query to exclude specific data from resultset
i have got two tables,one customer with fields cust_id,email and another with field cust_id,domname ,expirydate. i have this query to combine these two tables to give me email and the expirydate as
[code]
$sql = "SELECT l.email,s.expir ydate from customer l, domain s where l.cust_id = s.cust_id ";
[\code]
i need to exclude those expirydates whose domname contains .np in the text.how can i do that -
need guidance on good tutorials for css menus
can anyone direct me to sites that have good tutorials on css menus -
sorry forgot to add a few things..i have to do that using php.write a php script that periodically checks for a given condtion and if fulfilled carries out a function....Leave a comment:
-
-
automatic mail sending
need guidance
my criteria is that a function automatically checks for a given condition periodically. i don't know how to do that.lets say at the end of every month -
thank you i finally made the code worked
$expiration contains date from the database;...Code:$chexpiraton = strtotime($expiration); $today = date("Y-m-d"); $chtoday = strtotime($today); $diff = $chexpiraton - $chtoday; $noday = $diff / (24*60*60);Leave a comment:
-
Comparing Dates
i need to send mail 1 month before expirydate stored in database to a client..till now i can just compare the dates by converting them using strtotime.is there anyways to find out many days are left till expirydate. -
i didn't mean perl i meant peardb but thank you your code was helpful...Leave a comment:
-
thank you very much it worked...i was using die indtead of echo....Leave a comment:
-
yes..it worked the output showed true but when i output the value of chexpiraton it doesn't show anything...Leave a comment:
-
populate drop down box
i need to populate drop down box with database values. i have a field customername from table customer and i want a function that populates drop down in html with the values of this field. we have to use pear and it is making a little complicated -
don't know what the problem is
rown[0] contains date in format 2009.10.12Code:$expiration = $rown[0] ; $chexpiraton = strtotime($expiration); $x = $chexpiraton ? "true" : "false"; echo $x;
the output is false whereas it should have been true. don't know what the problem here is.code looks fine. -
thanks that worked...
can we do the same thing using join
or was that one type of joinLeave a comment:
-
need to combine these two queries
i have got two queries,
the first query retrieves cust_id from the table customer and i use it in the second query to obtain expirydate....Code:$sql1 = "select cust_id from customer where comp_name = '$compname'"; $result = $DB->query($sql1); $result->fetchInto($row); $sql = "select expirydate from customer l,domain s where l.cust_id = '$row[0]' and s.domname = '$domname'";
No activity results to display
Show More
Leave a comment: