<?=$tmp?>

Problems with the Windows version of XAMPP, questions, comments, and anything related.

<?=$tmp?>

Postby x_mysterious_x » 20. June 2010 16:46

hi,

why this method does not work in XAMPP?
Code: Select all
<?$tmp?>

or
Code: Select all
<?
echo "hello world";
?>


instead this works fine.
Code: Select all
<?php

echo "hello world";

?>


I have downloaded many scripts and they all use <?$abc?> this method. xampp does not show any result for this script. How can i put it to work??
x_mysterious_x
 
Posts: 1
Joined: 20. June 2010 16:39

Re: <?=$tmp?>

Postby Altrea » 20. June 2010 16:56

x_mysterious_x wrote:why this method does not work in XAMPP?
Code: Select all
<?$tmp?>

[...]
I have downloaded many scripts and they all use <?$abc?> this method. xampp does not show any result for this script. How can i put it to work??

This will never work. Not in XAMPP not elsewhere.

<? $tmp ?> is the expression for <?php $tmp ?>. What should that be?

Why <?= and <? doesn't work: Keyword short_open_tags.

Solved a million times before here in this forum.

I think you can try the forum search.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 123 guests