User Profile

Collapse

Profile Sidebar

Collapse
bips2005
bips2005
Last Activity: Feb 6 '09, 11:51 AM
Joined: Jul 3 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bips2005
    replied to image manipulation
    in PHP
    thank you

    thank you for the valuable suggestion
    See more | Go to post

    Leave a comment:


  • bips2005
    started a topic image manipulation
    in PHP

    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
    See more | Go to post

  • bips2005
    started a topic need to redirect to same page
    in PHP

    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
    See more | Go to post

  • bips2005
    started a topic sql query to exclude specific data from resultset

    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
    See more | Go to post

  • bips2005
    started a topic need guidance on good tutorials for css menus

    need guidance on good tutorials for css menus

    can anyone direct me to sites that have good tutorials on css menus
    See more | Go to post

  • bips2005
    replied to automatic mail sending
    in PHP
    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....
    See more | Go to post

    Leave a comment:


  • bips2005
    replied to populate drop down box
    in PHP
    its ok....no harm done...
    See more | Go to post

    Leave a comment:


  • bips2005
    started a topic automatic mail sending
    in PHP

    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
    See more | Go to post

  • bips2005
    replied to Comparing Dates
    in PHP
    thank you i finally made the code worked

    Code:
    $chexpiraton = strtotime($expiration);
    	
    	 $today = date("Y-m-d");
    	 $chtoday = strtotime($today);
    	$diff = $chexpiraton - $chtoday;
    	$noday = $diff / (24*60*60);
    $expiration contains date from the database;...
    See more | Go to post

    Leave a comment:


  • bips2005
    started a topic Comparing Dates
    in PHP

    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.
    See more | Go to post

  • bips2005
    replied to populate drop down box
    in PHP
    i didn't mean perl i meant peardb but thank you your code was helpful...
    See more | Go to post

    Leave a comment:


  • bips2005
    replied to don't know what the problem is
    in PHP
    thank you very much it worked...i was using die indtead of echo....
    See more | Go to post

    Leave a comment:


  • bips2005
    replied to don't know what the problem is
    in PHP
    yes..it worked the output showed true but when i output the value of chexpiraton it doesn't show anything...
    See more | Go to post

    Leave a comment:


  • bips2005
    started a topic populate drop down box
    in PHP

    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
    See more | Go to post

  • bips2005
    started a topic don't know what the problem is
    in PHP

    don't know what the problem is

    Code:
    $expiration = $rown[0] ;
    	$chexpiraton = strtotime($expiration);
    	 $x = $chexpiraton ? "true" : "false";
     echo $x;
    rown[0] contains date in format 2009.10.12
    the output is false whereas it should have been true. don't know what the problem here is.code looks fine.
    See more | Go to post

  • bips2005
    replied to need to combine these two queries
    thanks that worked...
    can we do the same thing using join
    or was that one type of join
    See more | Go to post

    Leave a comment:


  • bips2005
    started a topic need to combine these two queries

    need to combine these two queries

    i have got two queries,
    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'";
    the first query retrieves cust_id from the table customer and i use it in the second query to obtain expirydate....
    See more | Go to post
No activity results to display
Show More
Working...