Username:
Password:
Remember me:
Register

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)


Search forums via Google


0 Users appreciate this thread.

echo username(thats logged in) along with message?
Started by PLMasterSSB
(2013-08-18 00:35:21)
PLMasterSSB (2013-08-18 00:35:21)
im sorry guys for all these remake of my threads but,

Sup guys,
i trying to echo the username(that's logged in) and the chat post that goes along with it. i now know i need to LEFT JOIN (or RIGHT JOIN. idk) and when i do that, idk exactly how the next set of codes are gonna look. i tried code after code but it didn't echo the logged in user along with their chat post.

btw, thx you guys for responding to my every thread. i really appreciate the help.
angelrulez7 (2013-08-18 15:42:16)


You have to know what the username variable for your login script is. So don't ask us, we have no idea.
a
PLMasterSSB (2013-08-18 17:49:20)
I know I can set the variable. but HOW do I... just read the forum again. im too lazy to type the question again

This post has been edited one or more times, the last time was:
2013-08-19 00:50:01

angelrulez7 (2013-08-18 22:58:42)


Stop coding please.
a
PLMasterSSB (2013-08-18 23:14:37)
no
angelrulez7 (2013-08-19 01:23:19)
In fact, you aren't even coding. Everyone is doing it for you.
a
PLMasterSSB (2013-08-19 21:24:04)
im asking so much and I can learn from you guys. I understand the code, I just don't know how to write the code
PLMasterSSB (2013-08-19 21:25:10)
I seriously don't have to stop though

angelrulez7 (2013-08-19 21:52:08)
You're posting threads CONSTANTLY. Stop. Put ALL of your questions in 1 THREAD.
a
(Capt.)Orb (2013-08-20 23:26:32)
Google provides a lot of answers.....

I wasn't bothered to write a code for you so go to http://stackoverflow.com/questions/6059364/select-from-multiple-table-with-mysql

I found that link in less than a minute on google.


Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
angelrulez7 (2013-08-28 12:07:54)
Don't even use 2 different tables.

Make the SQL row 'user' that inserts the username in the chat table, and echo that instead.
a
PLMasterSSB (2013-09-02 03:27:13)
Yeah, I though of that
PLMasterSSB (2013-09-08 11:32:53)
I think I got it, now I just need AJAX and it will be fine, but unfortunately, idk how to do an AJAX call
 

This topic is closed, so you can not post a comment.

This topic's ID: 52250

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved