Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,599,240 members, 6,034,171 topics. Date: Saturday, 05 December 2020 at 07:05 PM

Php Expert Come In Here - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Php Expert Come In Here (776 Views)

G I S Expert Come In (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Php Expert Come In Here by Akiliogidi: 2:30pm On Nov 19
stanliwise:
I can MySQLi directive meaning it is supported. Anyway you know use PDO for now. else something could be wrong with MySQLi drivers. More so is your MySQL server on?
Yes, it is on
Re: Php Expert Come In Here by stanliwise(m): 2:37pm On Nov 19
Akiliogidi:

Yes, it is on
Try PDO and if it works it means your PHP MySQLi driver is faulty of something is wrong
Re: Php Expert Come In Here by Brukx(m): 9:50pm On Nov 19
squash47:
Hello guys, so I was wondering if there is any way I can build a full functional website with front and backend programming languages, and host it on my laptop without launching it online.


Like, I mean the website will just be functional only on my laptop.


If I register a user, it will store in my laptop and I will be entirely in control of the website without going online.

Cc stanliwise and co

XAMPP can do this. It has a server and database
Re: Php Expert Come In Here by zyber(m): 6:31am On Nov 20
Akiliogidi:


Abeg I need your help alongside other pHp gurus here. I recently installed the latest php version, but each time I try running a db connection I do encounter Fatal error: Uncaught Error: Class 'mysqli' not found in C:\xampp\hotdocs. I use vs code and I have followed all the suggestions I came across online(stackoverflow inclusive) all to no avail. Abeg can you tell me how to go about fixing this problem.
Prodev986
Websoltech
Zyber
Code web
Tensazangetsu20
Below are the screenshots

I'm not a php developer, but my guesses are,
*Your MySQL server isn't running
*Your trying to connect to a MySQL hosted on another system (webhosts that provide MySQL), there is usually a firewall preventing external access for free users.
*A bracket isn't closed, or a semicolon is missing.

Cheers, Adriel.
Re: Php Expert Come In Here by Semtu(m): 7:52am On Nov 20
Akiliogidi:


Abeg I need your help alongside other pHp gurus here. I recently installed the latest php version, but each time I try running a db connection I do encounter Fatal error: Uncaught Error: Class 'mysqli' not found in C:\xampp\hotdocs. I use vs code and I have followed all the suggestions I came across online(stackoverflow inclusive) all to no avail. Abeg can you tell me how to go about fixing this problem.
Prodev986
Websoltech
Zyber
Code web
Tensazangetsu20
Below are the screenshots

The first warning means you've set up a password for root access, you have to input your password.
Re: Php Expert Come In Here by Karleb(m): 4:38pm On Nov 20
@squash47 how far with the problem?
Re: Php Expert Come In Here by Akiliogidi: 11:08am On Nov 21
Semtu:


The first warning means you've set up a password for root access, you have to input your password.
I have been able to rectify that and it runs successfully in browser , but in my visual basic code editor, it keep showing class 'mysqli' not found in C each time I run it from vs code.
I have edited all editable in the php.ini file by removing all the semicolons before the extensions and adding the absolute path like this : extension_dir =C:\php\ext[/b]and [b]extension=C:\xampp\php\ext\php_mysqli.dll, yet i keep seeing the error as shown below

Re: Php Expert Come In Here by Semtu(m): 1:33pm On Nov 21
Akiliogidi:

I have been able to rectify that and it runs successfully in browser , but in my visual basic code editor, it keep showing class 'mysqli' not found in C each time I run it from vs code.
I have edited all editable in the php.ini file by removing all the semicolons before the extensions and adding the absolute path like this : extension_dir =C:\php\ext[/b]and [b]extension=C:\xampp\php\ext\php_mysqli.dll, yet i keep seeing the error as shown below

It seems mysqli libraries are not present, are you sure you've enabled the mysqli extension in the php.ini file? If you've done any code alteration on your php.ini file, you'll need to restart VS code before it detects it or better still, restart your machine.

Try "mysqli_connect()"

Also, how did you install php on your device?
Re: Php Expert Come In Here by cixak95211: 3:17pm On Nov 21
It amazes me how people snap their screen with a mobile phone,
when windows itself has a prebuilt snipping tool that allows you to take
screenshots in full HD. Sad angry angry angry
Re: Php Expert Come In Here by Karleb(m): 4:20pm On Nov 21
cixak95211:
It amazes me how people snap their screen with a mobile phone,
when windows itself has a prebuilt snipping tool that allows you to take
screenshots in full HD. Sad angry angry angry

Bros, be calming down. grin
Re: Php Expert Come In Here by dragnet: 8:39pm On Nov 21
cixak95211:
It amazes me how people snap their screen with a mobile phone,
when windows itself has a prebuilt snipping tool that allows you to take
screenshots in full HD. Sad angry angry angry

Have you considered that he may have been posting with his phone on nairaland and only made more sense snapping with same phone?
Re: Php Expert Come In Here by cixak95211: 9:13pm On Nov 21
dragnet:


Have you considered that he may have been posting with his phone on nairaland and only made more sense snapping with same phone?

While that maybe considered, for the sake of clarity, would you go to e.g. stackoverflow in search of an answer and post such an image like he did?
You know what's gonna happen, right?
Re: Php Expert Come In Here by dragnet: 7:07am On Nov 22
cixak95211:


While that maybe considered, for the sake of clarity, would you go to e.g. stackoverflow in search of an answer and post such an image like he did?
You know what's gonna happen, right?
but this isn't stack overflow.
irrespective of how fast an airplane is, it doesn't make sense boarding it to a town without airports.
Re: Php Expert Come In Here by cixak95212: 3:04pm On Nov 22
Caramba !!!

(1) (2) (Reply)

Vbasic Question On Counting Words In Ms Word And Searching For Text / Help On Course To Choose? / Autocad.help !

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 60
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.