- var_dump: documentation ( source)
- explode: documentation ( source)
<?php
$string = "Offerte informatie
Type: Speldjes / Pins
Categorie:
Aantal: 50
Breedte: 2 cm
Hoogte: 2 cm
Ontwerp: logo_jpeg.jpg
Vorm: anders
Afwerking achterkant: Speld |
Eventuele vragen of opmerkingen:
Contact informatie
Naam: Alan Spaenjaers
Telefoonnummer: 0642810603
Voorkeurstijdstip terugbellen: Graag via mail
E-mailadres: contact@sintmichielsgilde.com
Land: Nederland
Actiecode:
--- Deze mail is verzonden via het bestelformulier op Emblemen en Badges http://www.emblemen-badges.nl
{{ badge.type = speldjes }}
{{ badge.category = }}
{{ badge.description = }}
{{ badgeOrder.quantity = 50 }}
{{ badge.shape = anders }}
{{ badge.width = }}
{{ badge.height = 2 }}
{{ badge.back = Speld }}
{{ badge.velcro = }}
{{ client.name = Alan Spaenjaers }}
{{ client.phone = 0642810603 }}
{{ client.time = Graag via mail }}
{{ client.email = contact@sintmichielsgilde.com }}
{{ client.country = NL }}
{{ order.description = }}
{{ order.action = }}";
var_dump( explode('{{ ', $string));