Lennard schreef:Nu vertel je me dingen waar ik nog nooit van gehoord hebt, maar staat er wel allemaal in. Kun je het bekijken als ik je de source geef?Huh?
Check eens na of je $mail wel gedefiniëerd hebt en of AddReplyTo wel bestaat.

Lennard schreef:Nu vertel je me dingen waar ik nog nooit van gehoord hebt, maar staat er wel allemaal in. Kun je het bekijken als ik je de source geef?Huh?
Check eens na of je $mail wel gedefiniëerd hebt en of AddReplyTo wel bestaat.



Lennard schreef:Ja maar dan heeft iedereen mijn contact formulier en dat is niet de bedoeling.Oh, hier hoorde je PM bij dus.
Post het dan gewoon hier of in een eigen topic.

Jvdw schreef:weet hier iemand antwoord ophoe check je hierop of de datum bestaat met php?

Rik schreef:deed ik, kzoekte op check date etc, maar vond niets bruikbaar met mijn php kennis,Of een regexje. Maar dat kan ook weer sloom zijn.
Zoek trouwens eens op google naar "Validate dates php". Genoeg info over te vinden.
Graag google gebruiken volgende keer.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/class"]class[/URL] builder [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] page[COLOR= #007700]() {[/COLOR]
[COLOR= #0000BB]$c[/COLOR] [COLOR= #007700]= new[/COLOR] config[COLOR= #007700];[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$c[/COLOR][COLOR= #007700]->[/COLOR]page[COLOR= #007700]();
}
}[/COLOR] Freestyle schreef:Maar nu moet ik de class config opnieuw aanvragen, kan ik ook in een andere class werken zonder dat te doen??Ik heb dit:[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/class"]class[/URL] builder [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] page[COLOR= #007700]() {[/COLOR] [COLOR= #0000BB]$c[/COLOR] [COLOR= #007700]= new[/COLOR] config[COLOR= #007700];[/COLOR] [URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$c[/COLOR][COLOR= #007700]->[/COLOR]page[COLOR= #007700](); } }[/COLOR]

Nielsie schreef:Je kan bijv. $c in je configuratie definen en dan global gebruiken, Of $c in je class (Dus niet functie) definenEerdere citaten tonen
Freestyle schreef:Ik heb dit:[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/class"]class[/URL] builder [COLOR= #007700]{[/COLOR] [URL="http://www.php.net/public"]public[/URL] [COLOR= #007700]function[/COLOR] page[COLOR= #007700]() {[/COLOR] [COLOR= #0000BB]$c[/COLOR] [COLOR= #007700]= new[/COLOR] config[COLOR= #007700];[/COLOR] [URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$c[/COLOR][COLOR= #007700]->[/COLOR]page[COLOR= #007700](); } }[/COLOR]
Maar nu moet ik de class config opnieuw aanvragen, kan ik ook in een andere class werken zonder dat te doen??

$getal = "6"; $dag = date("l");
if ($dag == "Monday")
{
//hier doe ik iets
} Sanderc schreef:Ik heb dus een getal:
$getal = "6"; $dag = date("l");
if ($dag == "Monday")
{
//hier doe ik iets
} 
<script>
$("input").keyup(function () {
var value = $(this).val();
$("p").text(value);
}).keyup();
</script>