What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

This question already has an answer here:

I tried to answer a question and putted:
"< ? php" (no blanks between it) into a answer here in stackoverflow. But it does not work; i read about the advanced formatting but did not find the hint or explanation how to solve this.

Surely someone will know this.

share|improve this question

migrated from stackoverflow.com Apr 9 at 10:03

This question came from our site for professional and enthusiast programmers.

marked as duplicate by 3ventic, Mat, Shadow Wizard, hims056, Martijn Pieters Apr 9 at 10:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Don't know about the downvote. Backtick on my keyboard is at the top left, next to the 1 –  Hobo Sapiens Apr 9 at 9:46
    
What is backtick: this ` or this ´ –  Gizzmo Apr 9 at 9:49
    
Try it. Preferrably in the sandbox meta.stackexchange.com/questions/3122/formatting-sandbox –  sehe Apr 9 at 10:17
3  
What prevented you from reading the Formatting FAQ? Help on formatting is provided right there next to the input box. –  Lightness Races in Orbit Apr 9 at 10:18

3 Answers 3

<?php test(); ?>

Highlight and select code formatting works for me.

share|improve this answer

Surround this with the symbol: `

share|improve this answer

simply select the code and then press ctrl + k

share|improve this answer