Search found 4 matches

by resilo
Thu Dec 07, 2017 8:24 pm
Forum: PHP Scripts
Topic: How to correctly parse a $url
Replies: 1
Views: 560

How to correctly parse a $url

currently the end result of the url ends with /php/ so it looks like this example.com/php i need to place :8080 before the / what would be the best way to accomplish this? <?php require_once("config.php"); require("PHPMailer/class.phpmailer.php"); $auth_host = $GLOBALS['auth_host']; $auth_user = $GL...
by resilo
Sun Nov 12, 2017 10:14 am
Forum: mySQL & php coding
Topic: pulling data from a sql database
Replies: 3
Views: 623

Re: pulling data from a sql database

the return i get is from it is always null. so i just want to make sure the scripts way of receiving the username and choosing the one that matches it from the database is correct mostly it is suppose to be exactly like my script for retrieving the monster data but take into account the username and...
by resilo
Sat Nov 11, 2017 3:27 pm
Forum: mySQL & php coding
Topic: pulling data from a sql database
Replies: 3
Views: 623

pulling data from a sql database

So i am using it in conjunction with unity. it is a script to pull player stats from the database i just wanna know from if my php programming is sound? <?php require_once("config.php"); $auth_host = $GLOBALS['auth_host']; $auth_user = $GLOBALS['auth_user']; $auth_pass = $GLOBALS['auth_pass']; $auth...
by resilo
Sat Aug 05, 2017 9:43 am
Forum: mySQL & php coding
Topic: mysqli rows and class mysqli not found
Replies: 0
Views: 669

mysqli rows and class mysqli not found

So my code as follows always returns if i test run it with php desinger8 i get fatal error line 10 fatal error:class 'mysqli' not found in c:\xampp\htdocs\Monsters.php on line 10 and if i access it via my web browser i get Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean g...