Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove "s" on searches


davejones

Recommended Posts

Posted

if (substr($keyword,-1) == 's') {

$keyword2 = substr($keyword,-1);

}

 

 

 

Ryan

If I was crafty, this would be a funny signature.

Posted

if (substr($keyword,-1) == 's') {
 $keyword2 = substr($keyword,-1);
}

 

 

Ryan

If I was crafty, this would be a funny signature.

Posted

Your gonna need a lot more code than that, I thought you knew php but just wanted to know how to strip the S off.

 

Ryan

If I was crafty, this would be a funny signature.

Posted

it does. But I am saying that the code I put up above is just a part of what you will need.

If I was crafty, this would be a funny signature.

Posted

I dont know, check the contribs, there might be one that does this already or one that you can modify.

If I was crafty, this would be a funny signature.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...