Hello:
I'm trying to strip a word out of a variable and echo it out. here is what I mean:
$from
the value of which is INTERVAL 7 DAY
I have this line that includes the variable:
echo"The total number of transaction(s) found within the last $from: "; echo $row["numrecords"]; echo"<br/>";
Currently this line would echo as:
"The total number of transaction(s) found within the last INTERVAL 7 DAY: 25"
What I really want to happen is:
"The total number of transaction(s) found within the last 7 DAY: 25"
Essentially I want to strip INTERVAL out at the echo line. Is this doable? If so any guidance is most appreciative.
Mossa