Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PHP-Chat
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SST
PHP-Chat
Commits
62c71726
Commit
62c71726
authored
Jul 18, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
ae06ac37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
update.php
update.php
+3
-3
No files found.
update.php
View file @
62c71726
...
...
@@ -12,13 +12,13 @@ if(isset($_SESSION['chatuserid']) AND $users['online'] == 1)
while
(
$chat
=
mysql_fetch_array
(
$result
))
{
if
(
$chat
[
'hidden'
]
!=
1
)
$
array
[
'newMessages'
][]
=
MessageFormat
(
$chat
[
'hideuser'
],
$chat
[
'admin'
],
$chat
[
'privat'
],
$chat
[
'name'
],
$chat
[
'chat_time'
],
$chat
[
'nachricht'
],
$chat
[
'name'
]
);
$
nachricht
=
MessageFormat
(
$chat
[
'hideuser'
],
$chat
[
'admin'
],
$chat
[
'privat'
],
$chat
[
'name'
],
$chat
[
'chat_time'
],
$chat
[
'nachricht'
],
$chat
[
'name'
]
);
//echo "<br>".$chat['hideuser']."<br>".$chat['admin']."<br>".$chat['privat']."<br>".$chat['name']."<br>".$chat['chat_time']."<br>".$chat['nachricht'];
//
$chatid = $chat['id'];
$chatid
=
$chat
[
'id'
];
//if($chat['userchange'] == 1) $userreload = 1;
//if($chat['userchange'] == 2) $userreload = 2;
}
//
$array['newMessages'] = $nachricht;
$array
[
'newMessages'
]
=
$nachricht
;
// Liste der Benutzer:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment