Answer the question
In order to leave comments, you need to log in
Error storing address in pointer?
The code:
int Europe_CountryCount=44;
int** nextWorldPart = new int*[6];
nextWorldPart[0]=&Europe_CountryCount;
error: 'nextWorldPart' does not name a type
nextWorldPart[0]=&Europe_CountryCount;
Answer the question
In order to leave comments, you need to log in
$CONNECT = mysqi_connect('localhost' ,'u8310614_*****', '******' ,'u8310614_****');
missing ;
at the end of the line. mysqli_connect
insteadmysqi_connect
See what kind of error is happening. mysqli allows you to do this:
$CONNECT = mysqi_connect('localhost' ,'u8310614_*****', '******' ,'u8310614_****');
if (!$CONNECT)
echo "Код ошибки errno: " . mysqli_connect_errno() . PHP_EOL;
echo "Текст ошибки error: " . mysqli_connect_error() . PHP_EOL;
exit;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question