Danack / PHP-to-Javascript

A tool for converting simple PHP objects/code to Javascript, so that code for manipulating objects can be used both server-side and client-side.
Other
104 stars 32 forks source link

Echo with variable has broken #10

Closed Danack closed 11 years ago

Danack commented 11 years ago

This:

echo "Total is $total";

Should be converted to:

alert( "Total is " + total + "");

Not:

alert( "Total is total");

Danack commented 11 years ago

Fixed in latest version.