• 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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