Hoe kan ik een dit
in php doen ?
( echo "dat html code": )
(met echo "" . $row[maps]; )
<a href="website/upload/">site!</a> in php doen ?
( echo "dat html code": )
(met echo "" . $row[maps]; )
<a href="website/upload/">site!</a> [COLOR= #0000BB]<?php
$naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]raoul[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/uploadzad">sdsof</a>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Naam: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$raoul[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$naam[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// "".$naam moet niet![/COLOR]
?> Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?
background-color: rgba(0, 0, 0, .5); Bartw schreef:Thanks, maar in welke browsers werkt het niet dan?Eerdere citaten tonen
Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?background-color: rgba(0, 0, 0, .5);
Dit is wel CSS3, dus het zal niet met oudere browsers werken.
17:
53:Stefvdwel schreef:Hier (http://www.w3schools.com/cssref/css_colors_legal.asp) kijken, en dan bij rgba colors. Het werkt dus in IE9+, Firefox 3+, Google Chrome, Safari en Opera 10+.Thanks, maar in welke browsers werkt het niet dan?Eerdere citaten tonen
Bartw schreef:Eerdere citaten tonen
Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?background-color: rgba(0, 0, 0, .5);
Dit is wel CSS3, dus het zal niet met oudere browsers werken.
toevoeging op 16 augustus 2013, 1817:
En hoe kan ik de kleur bepalen?
rgba(255, 0, 0, .5) Bartw schreef:Ik heb gewoon gegoogeld naar "hex to rgb" maar ik wist nieteens dat rgb een kleurcode wasHier (http://www.w3schools.com/cssref/css_colors_legal.asp) kijken, en dan bij rgba colors. Het werkt dus in IE9+, Firefox 3+, Google Chrome, Safari en Opera 10+.Eerdere citaten tonen
Stefvdwel schreef:Thanks, maar in welke browsers werkt het niet dan?Eerdere citaten tonen
Bartw schreef:Eerdere citaten tonen
Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?background-color: rgba(0, 0, 0, .5);
Dit is wel CSS3, dus het zal niet met oudere browsers werken.
toevoeging op 16 augustus 2013, 1817:
En hoe kan ik de kleur bepalen?
Een RGBA color is hetzelfde als een RGB color (Red, Green, Blue) maar een RGBA color is Red, Green, Blue, Alpha. Bij alpha hoor je de waarde voor je transparantie in te vullen.
Om de RGB van een HEX-color (#000000) te berekenen, kun je tool als een colorpicker gebruiken. (colorpicker.com).
Dus wil je bijvoorbeeld rood, dan wordt hetrgba(255, 0, 0, .5)
Edit:
Ow, te laat gezien dat je het al gevonden had haha.

Raaoul schreef:toevoeging op 16 augustus 2013, 18:01:56:[COLOR= #0000BB]<?php $naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]raoul[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/uploadzad">sdsof</a>[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Naam: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$raoul[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$naam[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// "".$naam moet niet![/COLOR] ?>
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]localhost[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]user[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pw[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]mijndb[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM maps"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]))[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/upload/bestandnaam die in db staat">hier nog is bestandnaam die in db staat</a>[/COLOR][COLOR= #007700];[/COLOR]
?> Habgallery schreef:nee, kijk ik zo iets probeer ik te krijgen.. maar snap niet hoetoevoeging op 16 augustus 2013, 18:01:56:Eerdere citaten tonen
Raaoul schreef:[COLOR= #0000BB]<?php $naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]raoul[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/uploadzad">sdsof</a>[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Naam: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$raoul[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$naam[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// "".$naam moet niet![/COLOR] ?>
Uberhaupt al eens een php tutorial gelezen?
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/upload/bestandnaam die in db staat">hier nog is bestandnaam die in db staat</a>[/COLOR][COLOR= #007700];[/COLOR]
?> Bartw schreef:Kan dit ook met achtergrondplaatjes?Eerdere citaten tonen
Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?background-color: rgba(0, 0, 0, .5);
Dit is wel CSS3, dus het zal niet met oudere browsers werken.
Stefvdwel schreef:Dan moet je dat plaatje semi-transparant maken met een foto bewerk programma.Kan dit ook met achtergrondplaatjes?Eerdere citaten tonen
Bartw schreef:Eerdere citaten tonen
Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?background-color: rgba(0, 0, 0, .5);
Dit is wel CSS3, dus het zal niet met oudere browsers werken.
Antonn schreef:Oke, bedanktDan moet je dat plaatje semi-transparant maken met een foto bewerk programma.Eerdere citaten tonen
Stefvdwel schreef:Kan dit ook met achtergrondplaatjes?Eerdere citaten tonen
Bartw schreef:Eerdere citaten tonen
Stefvdwel schreef:Ja, alleen de achtergrondkleur moet doorzichtig zijn.Eerdere citaten tonen
Antonn schreef:De achtergrond dus...?Eerdere citaten tonen
Stefvdwel schreef:Hoe kan ik het zo maken dat de div wel doorzichtig is, maar niet de tekst/plaatje?background-color: rgba(0, 0, 0, .5);
Dit is wel CSS3, dus het zal niet met oudere browsers werken.

Habgallery schreef:nee, kijk ik zo iets probeer ik te krijgen.. maar snap niet hoetoevoeging op 16 augustus 2013, 18:01:56:Eerdere citaten tonen
Raaoul schreef:[COLOR= #0000BB]<?php $naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]raoul[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/uploadzad">sdsof</a>[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Naam: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$raoul[/COLOR][COLOR= #007700];[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$naam[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// "".$naam moet niet![/COLOR] ?>
Uberhaupt al eens een php tutorial gelezen?
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]localhost[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]user[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]pw[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]mijndb[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM maps"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]))[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="website/upload/bestandnaam die in db staat">hier nog is bestandnaam die in db staat</a>[/COLOR][COLOR= #007700];[/COLOR]
?> 