Jump to content

Trimming a recordset


RobLamb

Recommended Posts

Hi

I have a recordset from a database which outputs a value of '% THOBEKA  MFEKA::12110235675?'

I need to seach the database based on the number between the :: and ? only. So for example '12110235675'.

I have tried this with a sql statement using LIKE but its not working. How can I trim the value from the database so I only get the number out. The amount of characters before the :: can vary.

 

Please can someone give me some advice asap.

 

Rob

Link to comment
https://forums.phpfreaks.com/topic/227613-trimming-a-recordset/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.