These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
PHP/API Question
MAMBA/The-Culture Head of IT
Dramiel - An EVE Bot for Discord
!!Hosted Dramiel Service!!
if ($charidcheck = NULL)
if ($charidcheck == NULL)
if ($charidcheck === NULL)
if(NULL == $var) {//some code}
$query = 'SELECT charid FROM services.members;';
$query = 'SELECT charid FROM services.members ORDER BY UpdatedAt DESC;';
// Corp Checkwhile( $row = mysqli_fetch_row($result) ) { $url = 'https://api.eveonline.com/eve/CharacterInfo.xml.aspx'; $url .= '?characterID=' . urlencode($result); $xml = makeApiRequest($url); $corpid = (int) $xml->result->corporationID; if ($corpid == '875512489') { $query2 = 'UPDATE services.members SET role = "MAMBA" WHERE charid = $result LIMIT 1'; } else { $query2 = 'UPDATE services.members SET role = "OOC" WHERE charid = $row[0] LIMIT 1'; } $result2 = mysqli_query($con,$query2); if (!$result2) { die('Invalid query: ' . mysql_error());}}
$query2 = "UPDATE services.members SET role = \'OOC\' WHERE charid = $row[0] LIMIT 1";
$query2 = 'UPDATE services.members SET role = \'OOC\' WHERE charid = '.$row[0].' LIMIT 1';
Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.