should help you out From the link you gave: Just give your modal div the class "reveal-modal"and a unique ID (we'll use the ID to launch this modal) and By putting the "data-reveal-id" attribute on the anchor, when clicked the plugin matches the value of the "data-reveal-id" attribute (in this case "myModal") with an HTML element with that ID.
echo "<div id='myModal".$count."' class='reveal-modal'>";
echo "<h1>Modal Title</h1>";
echo "<p>Contact:" . $row['contact'] . "</p>";
echo "<a class='close-reveal-modal'>×</a>";
echo "<a href='#' data-reveal-id='myModal".$count."'>Click Me For A Modal</a>";
Why the echo result of $vcs_info_msg_0_ contains strange characters in zsh?
I hope this helps you . That's because the variable is only to be used in prompts, nowhere else. The strange things you see are special control sequences that are interpreted by ZSH when rendering the prompt.
How to echo a statement based on the result of the previous echo
I think the issue was by ths following , after sign in and redirect to next page, i check the user with $_SESSION. Then if username valid, i want to show dropdown list which the list is get from database. I am confuse how to echo. , As Akintunde & SheperOfFire said the nice and tidy way is like :
I think the issue was by ths following , Quote the backticks so that the asterisks that are substituted in aren't subsequently interpreted as globs and expanded. $0 should also be quoted for safe measure.