Created
October 5, 2014 18:01
-
-
Save sjoulbak/667df38764a9d950435a to your computer and use it in GitHub Desktop.
Php split value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include'./mysql_config.php'; | |
$check_position=mysqli_query($con, "SELECT `position` FROM `playerdata` WHERE ID = '".$unique_id."'"); | |
$fetch_position=mysqli_fetch_assoc($check_position); | |
The value of position in the playerdata table is: 1|2|3 | |
I want that the result is: | |
$x=1; | |
&y=2; | |
$rot=3; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment