When accessing database or any dynamic array of information you can apply this method to produce a grid layout instead of a traditional linear layout. You can use tables, divs, or simple line breaks as a stagger mechanism. Script Source: www.developphp.com
Revisions
There are no revisions for this post.
wat about if we wanted it this way:
a d g
b e h
c f i
please help.
THANKS, I can’t thank you enough
How bout some pagination for this? Will it work with your previous pagination tut?
Cool tut.
Nice vid Adam, keep up the good work 😀
@lucas199400 if you have it in a specific format (eg, always comma or semi-colon separated (;) then you can use explode() function in the form: explode(“;”,$string);
where ; is our separator (can be any character, try to make it obscure so that you don’t get unexpected results (can be a string)) and $string is the haystack which we are looking in.
Practical use:
$name = “AlexSPLITBowers”;
$split = explode(“SPLIT”,$name);
echo $split[0] . ” ” . $split[1];
I would of never though of this, thnx adam
dude, thats hella smarter than the way i ususally do it…vedy nice
sick I can use this for my user options table
great video i can’t stress how amazing your informative videos are keep pushing out great content thank you very much and i look forward to watching your future videos
Nice video Adam. Very helpful.
@Nedfrenzy you to man
Merry X-mas
nice video man, pleasee go and check out my channel, pleaseeeee
Adam, I’ve got a little problem since my PHP skills are a little rusty..
Could you perhaps make a tutorial on how to store for example 10 different words in 1 table field thingamajig. With use of an array for example.
Then with PHP you take apart the array that is stored in only one table field thing and echo them out as normal seperate words again.
I hope you get what I mean,
Thanks in advance 🙂
second view xD nice video can you make a video about payed membership with php ?
Nice video Adam