Heres my CODE:
'<b class="red">' . '$fetch['Username'] . '</b>' . ' ballt seine Hände zusammen und ruft: "<b>Kame Hame HAA!</b>", sofort schießt er einen Energiestrahl in Richtung ' . '<b class="blue">' . $fetch['Username2'] . '</b> ab. ' . '<b class="blue">' . $fetch['Username'] . '</b> erleidet ' . $DMG_Gegner . ' LP Schaden.'
I want to load this code to like a php code...
+ comments + 1 comments
Here 1st you did not describe your problem completely. 2nd I think you want to fetch data from MySQL database.
For it you have to keep in mind 4 things
1) Script should be linked to database.
2) MySQL Queries Writing
3) Data fetching
4) Query checking with conditional statement
like
---------------------------------------------------------------------------------
< ?php
$query = 'select * from users where id = ' . $user_id;
$query_run = mysqli_query($con, $query);
if(!isset($query_run))
{
echo '$query_run is not working.';
exit;
}
$user = mysqli_fetch_array($query_run);
? >
Username1: < ?php echo $user[username] ?>
Username2: < ?php echo $user[username2] ?>
I hope like it you can fetch data easily
Post a Comment
Give your reviews about this blog. Leave your comments. what do you think about this post?
Comments Description is given below:
1) I love to read comments, but do not spam.
2) Like this blog and also tweet its posts.
3) You can use some xHTML tags.
4) All Comments are Do Follow, Please try to use blog professionally.
5) Mention Your Name below the comment.
6) You can also suggest for improvement.
7) Do not forget to subscribe Samee Articles blog.
---------------------------------------
Thanks for visiting QWC.Me.
==========================================
For free guidelines contact me on SEO Expert | Samee Ullah Feroz is online there.
==========================================
Best Regards