Kleine Vragen Topic #1

Gestart doorLennard4.284 reacties15.585 weergaven

4.285 berichten · pagina 31 van 286

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tickets ORDER BY ticket ASC"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]===[/COLOR] false[COLOR= #007700]) 
{[/COLOR]
    [COLOR= #FF8000]// mysql error[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] 
[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_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])) {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="datum">
            <span>
                [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]naam [COLOR= #007700].[/COLOR] [COLOR= #DD0000]  [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]achternaam [COLOR= #007700].[/COLOR][COLOR= #DD0000]
            </span>
            
            schreef op: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]datum [COLOR= #007700].[/COLOR][COLOR= #DD0000], om[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]tijd [COLOR= #007700].[/COLOR][COLOR= #DD0000]
          </div>[/COLOR][COLOR= #007700];
    
    }
          
}[/COLOR]
Waarom objecten? Neem fetch_assoc, dat is sneller.
Gast, ik programmeer nu lang genoeg om mijn eigen keuzes te maken. Objecten werken bijna hetzelfde als arrays (assoc). Maar aangezien ik altijd met een framework werk. En dus heel erg veel met objecten werk. Gebruik ik mysql_fetch_object. Die functie is er ook niet voor niets he.

En waarom zou ik mij moeten verantwoorden aan jou?
Gast, ik geef je een tip om je site sneller en dus beter te maken. En als ke dus toch al zo lang script word het dus nodig tijd om over te stappen op mysql_fetch_assoc.

Luister eens. Jij hoeft hem geen tips te geven, hij doet al veel langer PHP dan jouw en heeft dus ook veel meer ervaring dus hij weet wat hij zelf doet.
Er is niks mis met objecten, als je net zoals hem in een framework werkt is gewoon objecten veel beter (vind ik zelf) omdat je dan ook met veel classes en OOP werkt.
0
Berichten
6.485
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sevvlor schreef:
Ik probeer met JQuery een Json object optehalen alleen laat hij niets zien.
het is overigens voor het eerst dat ik dit met JQuery doe
function fetch_feed(){
        $.getJSON(ULRNAARJSON, function(data) {
        var items = [];
        for (var i=0; i< data.length; i++) {
            items.push(<div class="title"><p>+data[i].title+ - +data[i].date+</p></div><div class="avatar"><img src="+data[i].avatar+" /></div><div class="desc">+data[i].desc+</div>);
         }
          $(<div>, {
            class: post,
            html: items.join()
          }).appendTo(#popup);
        });
    }


{
"post": [
"title":"Titel test bla bla",
"url":"Url",
"desc":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nibh arcu, condimentum nec ultricies sit amet, rhoncus nec nunc. Proin rhoncus, est ac egestas tempus, metus mi mollis odio, sed convallis elit ante aliquet augue. Sed mattis nibh quis ",
"avatar":"http://www.static.sevvlor.com/users/avatars/thumbs/thumbnail-1-2k6hz.jpg",
"name":"Sevvlor",
"date":"Gister"
]
}


Je moet aan je json link een &callback=? ofzo toevoegen. Google er eens op zou ik zeggen yummie
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tickets ORDER BY ticket ASC"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]===[/COLOR] false[COLOR= #007700]) 
{[/COLOR]
    [COLOR= #FF8000]// mysql error[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] 
[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_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])) {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="datum">
            <span>
                [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]naam [COLOR= #007700].[/COLOR] [COLOR= #DD0000]  [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]achternaam [COLOR= #007700].[/COLOR][COLOR= #DD0000]
            </span>
            
            schreef op: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]datum [COLOR= #007700].[/COLOR][COLOR= #DD0000], om[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]tijd [COLOR= #007700].[/COLOR][COLOR= #DD0000]
          </div>[/COLOR][COLOR= #007700];
    
    }
          
}[/COLOR]
Waarom objecten? Neem fetch_assoc, dat is sneller.
Gast, ik programmeer nu lang genoeg om mijn eigen keuzes te maken. Objecten werken bijna hetzelfde als arrays (assoc). Maar aangezien ik altijd met een framework werk. En dus heel erg veel met objecten werk. Gebruik ik mysql_fetch_object. Die functie is er ook niet voor niets he.

En waarom zou ik mij moeten verantwoorden aan jou?
Gast, ik geef je een tip om je site sneller en dus beter te maken. En als ke dus toch al zo lang script word het dus nodig tijd om over te stappen op mysql_fetch_assoc.

Wat zoals ik al zij, dus echt grote onzin is. Vroegah gebruikte ik altijd assoc, maar gebruik nu al zon 6 maanden object. Dat jij nog niet geleerd hebt om met een mvc model te werken betekent niet dat objecten slechter zijn dan array.

@hierboven: Helemaal mee eens!
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tickets ORDER BY ticket ASC"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]===[/COLOR] false[COLOR= #007700]) 
{[/COLOR]
    [COLOR= #FF8000]// mysql error[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] 
[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_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])) {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="datum">
            <span>
                [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]naam [COLOR= #007700].[/COLOR] [COLOR= #DD0000]  [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]achternaam [COLOR= #007700].[/COLOR][COLOR= #DD0000]
            </span>
            
            schreef op: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]datum [COLOR= #007700].[/COLOR][COLOR= #DD0000], om[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]tijd [COLOR= #007700].[/COLOR][COLOR= #DD0000]
          </div>[/COLOR][COLOR= #007700];
    
    }
          
}[/COLOR]
Waarom objecten? Neem fetch_assoc, dat is sneller.
Gast, ik programmeer nu lang genoeg om mijn eigen keuzes te maken. Objecten werken bijna hetzelfde als arrays (assoc). Maar aangezien ik altijd met een framework werk. En dus heel erg veel met objecten werk. Gebruik ik mysql_fetch_object. Die functie is er ook niet voor niets he.

En waarom zou ik mij moeten verantwoorden aan jou?
Gast, ik geef je een tip om je site sneller en dus beter te maken. En als ke dus toch al zo lang script word het dus nodig tijd om over te stappen op mysql_fetch_assoc.
Wat zoals ik al zij, dus echt grote onzin is. Vroegah gebruikte ik altijd assoc, maar gebruik nu al zon 6 maanden object. Dat jij nog niet geleerd hebt om met een mvc model te werken betekent niet dat objecten slechter zijn dan array.

@hierboven: Helemaal mee eens!

Zei ik dat ze slecht waren dan? Neen, dat ze traag waren.
0
Berichten
10.409
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Is het mogelijk dat iemand een config.php file kan uitlezen met de rechten; 644? Dus dat hij mijn MySQL connectie wachtwoord etc. ziet?
0
Fass

Lid

Berichten
3.771
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Volgens mij bij 666 al niet. Dus 4 voor everyone moet genoeg zijn.
0
Berichten
10.409
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kun je uberhaupt wel een PHP file lezen / downloaden? Zo ja; hoe?
0
Lennard

Lid · Topicstarter

Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Nee, kan niet.
Tenzij je per ongeluk PHP uitzet in DirectAdmin ofzo, dan kan je alles lezen. biggrin
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Rogier schreef:
Eerdere citaten tonen
Sevvlor schreef:
Ik probeer met JQuery een Json object optehalen alleen laat hij niets zien.
het is overigens voor het eerst dat ik dit met JQuery doe

function fetch_feed(){
        $.getJSON(ULRNAARJSON, function(data) {
        var items = [];
        for (var i=0; i< data.length; i++) {
            items.push(<div class="title"><p>+data[i].title+ - +data[i].date+</p></div><div class="avatar"><img src="+data[i].avatar+" /></div><div class="desc">+data[i].desc+</div>);
         }
          $(<div>, {
            class: post,
            html: items.join()
          }).appendTo(#popup);
        });
    }


{
"post": [
"title":"Titel test bla bla",
"url":"Url",
"desc":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nibh arcu, condimentum nec ultricies sit amet, rhoncus nec nunc. Proin rhoncus, est ac egestas tempus, metus mi mollis odio, sed convallis elit ante aliquet augue. Sed mattis nibh quis ",
"avatar":"http://www.static.sevvlor.com/users/avatars/thumbs/thumbnail-1-2k6hz.jpg",
"name":"Sevvlor",
"date":"Gister"
]
}

Je moet aan je json link een &callback=? ofzo toevoegen. Google er eens op zou ik zeggen yummie
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tickets ORDER BY ticket ASC"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]===[/COLOR] false[COLOR= #007700]) 
{[/COLOR]
    [COLOR= #FF8000]// mysql error[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] 
[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_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])) {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="datum">
            <span>
                [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]naam [COLOR= #007700].[/COLOR] [COLOR= #DD0000]  [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]achternaam [COLOR= #007700].[/COLOR][COLOR= #DD0000]
            </span>
            
            schreef op: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]datum [COLOR= #007700].[/COLOR][COLOR= #DD0000], om[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]tijd [COLOR= #007700].[/COLOR][COLOR= #DD0000]
          </div>[/COLOR][COLOR= #007700];
    
    }
          
}[/COLOR]
Waarom objecten? Neem fetch_assoc, dat is sneller.
Gast, ik programmeer nu lang genoeg om mijn eigen keuzes te maken. Objecten werken bijna hetzelfde als arrays (assoc). Maar aangezien ik altijd met een framework werk. En dus heel erg veel met objecten werk. Gebruik ik mysql_fetch_object. Die functie is er ook niet voor niets he.

En waarom zou ik mij moeten verantwoorden aan jou?
Gast, ik geef je een tip om je site sneller en dus beter te maken. En als ke dus toch al zo lang script word het dus nodig tijd om over te stappen op mysql_fetch_assoc.

Wat zoals ik al zij, dus echt grote onzin is. Vroegah gebruikte ik altijd assoc, maar gebruik nu al zon 6 maanden object. Dat jij nog niet geleerd hebt om met een mvc model te werken betekent niet dat objecten slechter zijn dan array.

@hierboven: Helemaal mee eens!

De Json link klopt gewoon. Ook al Gé googled.
0
Berichten
6.485
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
Eerdere citaten tonen
Antonn schreef:
Eerdere citaten tonen
Rogier schreef:
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tickets ORDER BY ticket ASC"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]===[/COLOR] false[COLOR= #007700]) 
{[/COLOR]
    [COLOR= #FF8000]// mysql error[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] 
[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_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])) {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="datum">
            <span>
                [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]naam [COLOR= #007700].[/COLOR] [COLOR= #DD0000]  [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]achternaam [COLOR= #007700].[/COLOR][COLOR= #DD0000]
            </span>
            
            schreef op: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]datum [COLOR= #007700].[/COLOR][COLOR= #DD0000], om[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]tijd [COLOR= #007700].[/COLOR][COLOR= #DD0000]
          </div>[/COLOR][COLOR= #007700];
    
    }
          
}[/COLOR]
Waarom objecten? Neem fetch_assoc, dat is sneller.
Gast, ik programmeer nu lang genoeg om mijn eigen keuzes te maken. Objecten werken bijna hetzelfde als arrays (assoc). Maar aangezien ik altijd met een framework werk. En dus heel erg veel met objecten werk. Gebruik ik mysql_fetch_object. Die functie is er ook niet voor niets he.

En waarom zou ik mij moeten verantwoorden aan jou?
Gast, ik geef je een tip om je site sneller en dus beter te maken. En als ke dus toch al zo lang script word het dus nodig tijd om over te stappen op mysql_fetch_assoc.
Wat zoals ik al zij, dus echt grote onzin is. Vroegah gebruikte ik altijd assoc, maar gebruik nu al zon 6 maanden object. Dat jij nog niet geleerd hebt om met een mvc model te werken betekent niet dat objecten slechter zijn dan array.

@hierboven: Helemaal mee eens!
Zei ik dat ze slecht waren dan? Neen, dat ze traag waren.

Wat op zon quantum niveau afspeelt dat het niet uitmaakt.
0
Fass

Lid

Berichten
3.771
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Lennard schreef:
Nee, kan niet.
Tenzij je per ongeluk PHP uitzet in DirectAdmin ofzo, dan kan je alles lezen. biggrinKan wel als je een deel van je FTP gewoon vrije toegang geeft, oftewel volle permissions.
0
Berichten
10.409
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dan weet ik ook niet hoe ik gehackt werd. Ik wordhelemaal gek. yummie
0
Berichten
6.356
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Even een klein vraagje yummie (duh)

Hoe kan ik instellen dat een tekst max 100 karakters kan zijn en daarna ... wordt en dan niks meer zeg maar. Dat hij de tekst afkapt na een aantal tekens omdat het anders te lang wordt.?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Eerst kijken of de string 100 tekens of langer is (strlen) en als dat zo is met een substr verkorten yummie
0
Berichten
4.367
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Rogier schreef:
[COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tickets ORDER BY ticket ASC"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]===[/COLOR] false[COLOR= #007700]) 
{[/COLOR]
    [COLOR= #FF8000]// mysql error[/COLOR]
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] 
[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_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])) {[/COLOR]
    
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<div class="datum">
            <span>
                [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]naam [COLOR= #007700].[/COLOR] [COLOR= #DD0000]  [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]achternaam [COLOR= #007700].[/COLOR][COLOR= #DD0000]
            </span>
            
            schreef op: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]datum [COLOR= #007700].[/COLOR][COLOR= #DD0000], om[/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700]->[/COLOR]tijd [COLOR= #007700].[/COLOR][COLOR= #DD0000]
          </div>[/COLOR][COLOR= #007700];
    
    }
          
}[/COLOR]
Nu weergeeft hij alles.
0
Berichten
6.485
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als je minder wil moet je in je query een LIMIT toevoegen.

Als je bij resultaat 20 tot 40 wil moet je LIMIT 20,40 doen.
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren