Skip to content

u/Loyen

In this archive from Jul 2010 to Mar 2025

16
posts
162
comments
7
media
431
score

How to get AMD HDMI audio output to work?

Laptop model: Acer 5530G-704G32Mi so graphics is a AMD HD3470 I can't get hdmi audio output to work properly and I would like some help. This is done on an old acer laptop which has a broken LCD screen so it's ran as a home theater PC with an HDTV as display/audio, however audio doesn't work. This i...

6 points21 comments
Open on Reddit

Trying to make a string into an array("Attribute 1: Value 1; Attribute 2: Value 2;" into "Attribute 1" => "Value 1", "Attribute 2" => "Value 2")

$string = ''Attribut 1: Värde 1;Attribut 2: Värde 2;Attribut 3: Värde 3"; $array = explode(";", $string); foreach($array as $item) { $item = explode(':', $item); } print_r($array); Output: Array ( [0] => Attribut 1: Värde 1 [1] => Attribut 2: Värde 2 [2] => Attribut 3: Värde 3 ) Why won't it explode...

1 points18 comments
Open on Reddit

How do I write a dynamic css with php?

I was thinking about writing a theme.php file which you can send something like ?theme=red to make the theme red etc. How would I do the php file to work as a css file? something like content-type("text/css") (since I usually include other css files through my main file for css resets and such)? Edi...

6 points44 comments
Open on Reddit

What's a good way to set your title for each page?

Currently I use a system that is like header, index, footer. The index imports the header at top and footer at the bottom and the header has all the including stuff needed for each page and as well as the <head></head> stuff. The only problem is that I have not really a good idea how I should be abl...

1 points2 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.