[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/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Row selecteren na ophalen
Pagina 1 van 1

Row selecteren na ophalen

BerichtGeplaatst: 28 sep 2007 16:55
door frizzy
Ik ben bezig met een huiswerk-systeempje, nu heb ik de huiswerk voor de hle dag uit de database gehaalt. Maar nu wil ik de rij er uit halen van het uur. Hoe doe ik dat?
(bijvoorbeeld:
ik heb 2 rijen opghaald, voor het 4e en 7e hebben we huiswerk, nu wil ik dus daar uit de rij van het 7e halen en die echo'en. ) Hoe doe ik dit?

Re: Row selecteren na ophalen

BerichtGeplaatst: 29 sep 2007 09:42
door Derk
se lect * fro m tabel where uur=7

Ik heb geen idee hoe je database er uit ziet, en het is ook nog niet duidelijk wat je wilt.

Re: Row selecteren na ophalen

BerichtGeplaatst: 29 sep 2007 12:52
door frizzy
Ik heb de sql al uitgevoert, de data opgehaald uit de database. En nu wil ik dus niet gewoon op volgorde van id die rijen echo'en, ik wil er 1tje uitpakken. Hoe doe ik dat? Stel:
ik haal uit de database al het huiswerk voor maandag, dan heeft hij de volgende rijen gevonden:
1e uur frans so
5e uur duits paragraaf 3
7e uur engels paragraaf 5

Als ik het in een whiletje gooi geeft hij dit weer:
1e uur frans so
5e uur duits paragraaf 3
7e uur engels paragraaf 5
Maar ik wil:
1e uur frans so
2e uur (leeg)
3e uur (leeg)
4e uur (leeg)
5e uur duits paragraaf 3
6e uur (leeg)
7e uur paragraaf 5

Re: Row selecteren na ophalen

BerichtGeplaatst: 29 sep 2007 17:19
door Derk

Re: Row selecteren na ophalen

BerichtGeplaatst: 29 sep 2007 17:51
door frizzy
Erg bedankt :D

Re: Row selecteren na ophalen

BerichtGeplaatst: 01 okt 2007 14:36
door libia
@derk, mooi dat we weer gewoon query kunnen typen :)

Re: Row selecteren na ophalen

BerichtGeplaatst: 09 okt 2007 19:37
door Derk

Re: Row selecteren na ophalen

BerichtGeplaatst: 10 okt 2007 10:49
door Remi
ik denk die nog over kwerrie heeft.
maar kwerrie typen is ook gewoon droog...

Re: Row selecteren na ophalen

BerichtGeplaatst: 10 okt 2007 16:34
door Derk
kwerrie is wel cool :)
vooral handig als je qry, query en sql al hebt gebruikt ;)