Skip to content

Instantly share code, notes, and snippets.

@jibone
Created February 14, 2013 04:18
Show Gist options
  • Save jibone/4950576 to your computer and use it in GitHub Desktop.
Save jibone/4950576 to your computer and use it in GitHub Desktop.
$class = "link-class";
$evenid = "20";
$html = '
<tr>
<td>
<a href="#" class="%s" id="%s">Test</a>
</td>
<td>
<p>something</p>
</td>
</tr>';
echo sprintf($html, $class, $evenid);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment