XeonGX
New Member
Hello everyone,
I was wondering if there is a way to use only part of a php variable.
For example, if
<?php
$word = 'word1242';
echo $word;
?>
the output should be 1242, instead of word1242.
PS I've got a really long list, so I can't really change the $word to 1242.
Any help would be much appreciated.
I was wondering if there is a way to use only part of a php variable.
For example, if
<?php
$word = 'word1242';
echo $word;
?>
the output should be 1242, instead of word1242.
PS I've got a really long list, so I can't really change the $word to 1242.
Any help would be much appreciated.