15,899,754 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Demetri K.2 (Top 17 by date)
Demetri K.2
4-Feb-21 10:13am
View
Shouldn't the global $Database be able to get the info from the init file? Where the $Database variable is declared.
Demetri K.2
4-Feb-21 9:56am
View
//Connect to database
$server = 'localhost';
$user = 'root';
$pass = 'mysql';
$db = 'nc_task';
$Database = new mysqli($server, $user, $pass, $db);
the database was declared in a separate file...
Demetri K.2
12-Jan-21 10:01am
View
I don't think he'll respond. It's been recorded a while ago.
Demetri K.2
12-Jan-21 8:25am
View
Strange, I'm doing this based on a tutorial, which is working for the author of the tutorial. So What should I change?
Demetri K.2
12-Jan-21 8:24am
View
Nop, no message.
Demetri K.2
30-Dec-20 9:51am
View
Yep, jQuery is a good comperison. The main selling point of SASS is its ability to chunk your css file into separate sub-files so you don't have to work with one if your css is extensive. Plus SASS adds variables, mixins (to copy-paste complicated designs) and class and id stacking.
Demetri K.2
30-Dec-20 9:10am
View
I'll try, thanks for a comprehensive answer.
I have used SASS before. it has some quirks to it, but the extra functionality compensates for most of the issues.
Demetri K.2
30-Dec-20 8:04am
View
The actual CSS has the bare-bones lines of code in it. I can show it, but I don't think it's the problem. And I'm using SASS because the company that gave me this task asked for SASS to be in the project.
#bottom_txt {
font-size: 35px;
text-align: center;
color: blue;
}
/*# sourceMappingURL=style.css.map */
Demetri K.2
19-Dec-20 6:06am
View
It's from a guide. Where the code works. Maybe I misunderstood what you meant?
Demetri K.2
18-Dec-20 13:46pm
View
function setAlert($value, $type = null)
{
if ($type == ''){$type = $this->alertTypes[0];}
$_SESSION[$type][] = $value;
This?
Demetri K.2
18-Dec-20 13:30pm
View
It's part of a class. I've updated the original post with the entire file.
Demetri K.2
18-Dec-20 11:46am
View
The outer one: " foreach ($this->alertTypes as $alert)".
Demetri K.2
10-Dec-20 16:09pm
View
Route::get('/', '');
Auth::routes();
Route::post('follow/{user}', [App\Http\Controllers\FollowsController::class, 'store']);
Route::get('/', [App\Http\Controllers\PostsController::class, 'index']);
Route::get('/p/create', [App\Http\Controllers\PostsController::class, 'create']);
Route::post('/p', [App\Http\Controllers\PostsController::class, 'store']);
Route::get('/p/{post}', [App\Http\Controllers\PostsController::class, 'show']);
Route::get('/profile/{user}', [App\Http\Controllers\ProfilesController::class, 'index'])->name('profile.show');
Route::get('/profile/{user}/edit', [App\Http\Controllers\ProfilesController::class, 'edit'])->name('profile.edit');
Route::patch('/profile/{user}', [App\Http\Controllers\ProfilesController::class, 'update'])->name('profile.update');
All the routes that I have. I am not competent enough to see what is wrong with the routes.
Demetri K.2
10-Dec-20 3:57am
View
Can you be more specific?
Demetri K.2
6-Dec-20 4:13am
View
It's from a tutorial. The original was written in php storm.
Demetri K.2
4-Dec-20 15:04pm
View
syntax error, unexpected 'Response'(T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Demetri K.2
18-Nov-20 2:09am
View
Turns out I had to fix some file address problems. But thanks for the answer.
Show More