Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example3_textwall.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?
<?php
// SMS text wall - Sample for the 46elks cloud telephony platform
//
// Need a way for customers to compliment the kitchen?
Expand Down Expand Up @@ -66,7 +66,7 @@

<h1>SMS wall for +46766861354</h1>

<?
<?php
foreach (array_slice($lines, 0, 20) as $line):
list ($from, $text) = explode(' ', $line);
$message = htmlspecialchars( base64_decode($text) );
Expand All @@ -79,7 +79,7 @@

<p><?=$message?> <em><?=$from?></em></p>

<?
<?php
endforeach;
?>

Expand Down