File: test.php

Recommend this page to a friend!
  Classes of Andreas Martens  >  TabText  >  test.php  >  Download  
File: test.php
Role: ???
Content type: text/plain
Description: Test script
Class: TabText
Author: By
Last change:
Date: 18 years ago
Size: 780 bytes


Class file image Download


$text = "Pos\tArtikelnummer\tBezeichnung\tEinzelpreis\tMenge\tGesamtpreis\n";
$text .= "1\t20 500\tneue Bezeichnung\t20,10 Euro\t10\t201,00 Euro\n";
$text .= "1000\t20 501 ghhh\tneue BezBezeichnung testtest \t20,10 Euro\t1\t12,00 Euro\n";

$text .= "zzgl. Versandkosten\t\t\t\t\t6,00 Euro\n";
$text .= "Gesamtpreis\t\t\t\t\t380,00 Euro";

$neu = new TabText;


$test = $neu->text_output();

#	output text 
echo $test;

#	mail text

#	create text doc
$fp = fopen("test.txt","w");


For more information send a message to info at phpclasses dot org.