₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,424 members, 8,430,964 topics. Date: Sunday, 21 June 2026 at 01:43 PM

Toggle theme

I Am Having Troubles With PHP - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingI Am Having Troubles With PHP (707 Views)

1 Reply (Go Down)

I Am Having Troubles With PHP by CenturyCoder(op): 6:28pm On Jul 12, 2020
Can I please get help, I want to grab all the records in a database, I have about 6 records and I want to grab them and place them in an array
Re: I Am Having Troubles With PHP by Thenaijaitguy: 7:26pm On Jul 12, 2020
CenturyCoder:
Can I please get help, I want to grab all the records in a database, I have about 6 records and I want to grab them and place them in an array
Post a picture of what you have done or the error message you're getting. May be someone can help.
Re: I Am Having Troubles With PHP by Mrchusenvessel(m): 8:16pm On Jul 12, 2020
CenturyCoder:
Can I please get help, I want to grab all the records in a database, I have about 6 records and I want to grab them and place them in an array
let see what you have done so far
Re: I Am Having Troubles With PHP by CenturyCoder(op): 9:45pm On Jul 12, 2020
This is the table, I would like to grab each of them and use each of them in a frontend

Re: I Am Having Troubles With PHP by Karlebolu(m):
https://github.com/karlebh/help/blob/master/help.php


Copy the code in this github repo and follow the instructions, it's your solution.
Re: I Am Having Troubles With PHP by stanliwise(m): 11:31pm On Jul 12, 2020
CenturyCoder:
Can I please get help, I want to grab all the records in a database, I have about 6 records and I want to grab them and place them in an array
Use Mysqli obj with PHP and type your SQL command to fetch them.
Re: I Am Having Troubles With PHP by Presh900(m): 11:10am On Jul 13, 2020
CenturyCoder:
This is the table, I would like to grab each of them and use each of them in a frontend
Lol.. Have you even tried anything? You can't learn programming like this
Re: I Am Having Troubles With PHP by CenturyCoder(op): 12:51pm On Jul 14, 2020
To Presh900, bro I ave tried but to no avail, if I had not tried first and it work out well, would I have brought the problem to Nairaland programmers. Please think before you talk
Re: I Am Having Troubles With PHP by Jas80: 1:19pm On Jul 14, 2020
have you used your select statement
Re: I Am Having Troubles With PHP by soleexx(m): 1:32pm On Jul 14, 2020
Select each record and open its SQL
Copy the code
Re: I Am Having Troubles With PHP by CenturyCoder(op): 3:15pm On Jul 14, 2020
Thanks to everyone who contributed except Presh900
Re: I Am Having Troubles With PHP by dhtml6(m): 4:50pm On Jul 15, 2020
You can learn how to use this my library - https://github.com/dhtml/dhtmlsql
I wrote it sometime back and it is quite useful too. Or you can just use PDO directly.
Re: I Am Having Troubles With PHP by crunchyDope(m): 6:45pm On Jul 15, 2020
CenturyCoder:
Can I please get help, I want to grab all the records in a database, I have about 6 records and I want to grab them and place them in an array
what if it was 20,000 row sir? huh
1 Reply

Just Created A News Website With Php And HtmlI Built A Lpg Gas Station Sales Software Script With Php.A Reminder That Abeg Was Built With PHP.234

7 Things To Do While Going Into TechTelemedicine App DevelopmentI Need Inspiration For My Portfolio Webiste