clarocque Posted March 6, 2004 Share Posted March 6, 2004 I want to add an image on the admin/orders.php if the credit card number is mor e then 4 numbers. Something like this except I need it to count the digits not value if ($order->info['cc_number'] > '4') { bla..bla..bla... Any ideas? osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
dreamscape Posted March 6, 2004 Share Posted March 6, 2004 this should do it: if (strlen($order->info['cc_number']) > 4) { bla..bla..bla... Also, this page is good to bookmark for when not sure what function you need: http://us4.php.net/manual/en/funcref.php ;) The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
clarocque Posted March 6, 2004 Author Share Posted March 6, 2004 Thanks that worked!!!!! And thanks for the bookmark. osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.