[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net 2006-04-07T16:16:00+01:00 http://webmasterplein.net/feed.php?f=13&t=6394 1970-01-01T01:00:01+01:00 2006-04-07T16:16:00+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55793#p55793 <![CDATA[Re: PHP -> MySQL + nieuw probleem]]> velden. Een beetje door de war. Ik dacht dat dat al je tabel was. Maar nu begrijk ik het.
En bedankt.
Maar ik vind het eigenlijk niet zo heel moeilijk op de site van LinkinTED stond het simpelen makkelijk uit gelegd.

Statistieken: Geplaatst door Remi — 07 apr 2006 16:16


]]>
1970-01-01T01:00:01+01:00 2006-04-07T09:55:19+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55784#p55784 <![CDATA[Re: PHP -> MySQL + nieuw probleem]]> Statistieken: Geplaatst door Derk — 07 apr 2006 09:55


]]>
1970-01-01T01:00:01+01:00 2006-04-06T22:09:02+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55776#p55776 <![CDATA[Re: PHP -> MySQL + nieuw probleem]]> Statistieken: Geplaatst door KillerSponge — 06 apr 2006 22:09


]]>
1970-01-01T01:00:01+01:00 2006-04-06T20:54:22+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55768#p55768 <![CDATA[Re: PHP -> MySQL + nieuw probleem]]> Statistieken: Geplaatst door Derk — 06 apr 2006 20:54


]]>
1970-01-01T01:00:01+01:00 2006-04-06T20:33:29+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55765#p55765 <![CDATA[Re: PHP -> MySQL]]> Statistieken: Geplaatst door Anthony — 06 apr 2006 20:33


]]>
1970-01-01T01:00:01+01:00 2006-04-06T19:20:03+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55761#p55761 <![CDATA[Re: PHP -> MySQL]]> Maar ben nu tegen een probleempje aangelopen.

[code="PHP"]
<?php
$username = 'remi'; // De gebruikersnaam voor de databaseconnectie.
$password = ''; // Het wachtwoord voor de databaseconnectie.
$host = 'localhost'; // De server waarop MySQL draait.
$database = 'remi'; // De naam van de database waar we de naam in gaan invoeren.

// Controleer een naam is meegegeven als POST-variabele.
if(isset($_POST['user']) && !empty($_POST['user']));
if(isset($_POST['pass']) && !empty($_POST['pass']))

{
// Maak een connectie naar de MySQL-database:
$connection = mysql_connect($host, $username, $password);

// Selecteer de database:
mysql_select_db($database);

// Voer de volgende query uit:
// achter INTO staat de databasenaam (test)
// achter de databasenaam staan tussen haakjes de velden die worden toegevoegd (alleen naam);
// achter VALUES staan de waarden van die velden;
mysql_query("INSERT INTO users (user) VALUES ('{$_POST['user']}')");
mysql_query("INSERT INTO users (pass) VALUES ('{$_POST['pass']}')");

// Sluit de connectie:
mysql_close($connection); echo 'De waarde is toegevoegd.';
}
else
{
echo 'Er is geen naam ingevoerd om toe te voegen aan de database.';
}
?>[/code]

Maar de user en pass worden niet in één rij opgeslagen.
zoals je hier onder kan zien.

Afbeelding

Wat moet ik in mijn script veranderen???

Statistieken: Geplaatst door Remi — 06 apr 2006 19:20


]]>
1970-01-01T01:00:01+01:00 2006-04-06T17:24:33+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55747#p55747 <![CDATA[Re: PHP -> MySQL]]> Statistieken: Geplaatst door Remi — 06 apr 2006 17:24


]]>
1970-01-01T01:00:01+01:00 2006-04-06T16:16:42+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55741#p55741 <![CDATA[Re: PHP -> MySQL]]>

Statistieken: Geplaatst door LinkinTED — 06 apr 2006 16:16


]]>
1970-01-01T01:00:01+01:00 2006-04-06T16:09:33+01:00 http://webmasterplein.net/viewtopic.php?t=6394&p=55739#p55739 <![CDATA[PHP -> MySQL + nieuw probleem]]>
Ik ben al een tijdje bezig met PHP. Maar ik snap niks van de SQL tabels. Ik ben namelijk gewoonlijk gewent van een database dat je een soort tabel net zoals in Excel. Maar dit is heel anders. Dus kan iemand mij dit uitleggen. Ben ook al opzoek gewesst naar tut's maar niet gevonden. Dus als iemand mij dit kan uitleggen.

Statistieken: Geplaatst door Remi — 06 apr 2006 16:09


]]>