Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 385
  • Last Modified:

Echo table inside case/ break in php?

Hello experts;

Please let me know that how can i echo a table inside "case/break" in php like;

case 'x':

echo table

break;


thanks
0
MOSTAGHASSI
Asked:
MOSTAGHASSI
1 Solution
 
ludofulopCommented:
case 'x':

echo '<table><tr><td>one</td><td>two</td></tr></table>';

break;

??
0
 
MOSTAGHASSIAuthor Commented:
thanks,sometimes some solutions are so easy that we don't think,i thought that for each tag i must echo.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now