mysql - SQL Database not updating from a different computer -


i working on website uses database take rsvps guests. when test out own computer, works fine (that is, database updates , shows changes on phpmyadmin). reasons, when else's computer, database doesn't update.

i suspect it's because i'm using "localhost", couldn't find host name anywhere. have linux hosting cpanel godaddy.

$mysqli = mysqli_connect("localhost, "xxxxx", "xxxxx", "xxxxxx"); 

you need update server ip mysql host , enable remote mysql databases through cpanel.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -