Skip to main content
15 events
when toggle format what by license comment
Jun 10, 2020 at 13:24 history edited CommunityBot
Commonmark migration
Mar 6, 2020 at 20:34 vote accept Ryan Stone
Jun 1, 2019 at 20:00 comment added Ismael Miguel @RyanStone Then it wasnt correct.
Jun 1, 2019 at 18:19 comment added Ryan Stone @YourCommonSense You have mentioned "As a result, this code will always output just 'Loading Styles for MainHubV8.1.php' no matter which page it is called on.", but this is not entirely true, different pages where out-putting different results? So the logik was correct just without the "|| $_SERVER['PHP_URL_PATH']".
Jun 1, 2019 at 17:22 comment added Ryan Stone still same error, is = necessary after the first variable? @Ismael Miguel beat me. lol
Jun 1, 2019 at 17:21 history edited Your Common Sense CC BY-SA 4.0
added 2 characters in body
Jun 1, 2019 at 17:20 comment added Ismael Miguel On the first line, you have a syntax error. It has $stylesheets [ but should be $stylesheets = [.
Jun 1, 2019 at 17:10 comment added Your Common Sense I fixed the code on both regards
Jun 1, 2019 at 17:09 history edited Your Common Sense CC BY-SA 4.0
added 5 characters in body
Jun 1, 2019 at 16:54 comment added Ryan Stone I think i do understand the article you have included similar to how (Brackets) in maths means execute this part first.
Jun 1, 2019 at 16:46 comment added Ryan Stone Copied the code in your first block exactly as it is as a template to be edited & CPanel text editor is throwing an error: Syntax Error, unexpected T_DOUBLE_ARROW, expecting '']'............... ? is inside the php tags also? i removed the trailing , on each 'list' but this did not fix it. is on line 2?
Jun 1, 2019 at 16:35 comment added Ryan Stone Oh, I see your point on line 18/19 yes, Thank you for pointing this out. Trying to understand you answer a bit better in the first block you have made an array called $stylesheets, but how does this link into the foreach statement as your not specifying $stylesheets anywhere & where is this $file pulling its value from? Not sure I fully grasp this answer yet, but I will continue to bash my head against it until i do...
Jun 1, 2019 at 16:20 comment added Ryan Stone Thank you for your reply, I will read through it carefully.. How does $_SERVER['PHP_URL_PATH'] not exist when I have clearly found documentation to support that it does? & also I have only asked 2 questions so far so that is a bit of an unfair statement, how is anyone supposed to learn when the restriction on stack exchange basically block anyone from actually asking wrong or mis-construed questions. That is the whole point of learning. I can't ask any more questions on stack-overflow so its like hitting a brick wall in my learning experience.
Jun 1, 2019 at 7:40 history edited Your Common Sense CC BY-SA 4.0
edited body
Jun 1, 2019 at 7:35 history answered Your Common Sense CC BY-SA 4.0