RE: [PHP] Getting the barcode
| From: | Jay Blanchard | Date: | Tue, 13 Apr 2004 13:20:13 +0000 |
| Subject: | RE: [PHP] Getting the barcode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183226@lists.php.net to get a copy of this message | ||
[snip]
Hi
I dont think so.
This is basically one file read, that outputs many results.
with a carriage return at the end
So every line begins with Code39
I did a gettype() and I got a result of string.
[/snip]
If each line begins with Code39-> and looks like
Code39->10301535
$theBarCode = substr($line, 0, 8);
echo $theBarCode . "\n";
output is 10301535