Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Warning: Undefined array key "index_no" in C:xampphtdocs ruestudent eports.php on line 54 Fatal error: Uncaught TypeError: mysqli_fetch_array():

Warning: Undefined array key "index_no" in C:xampphtdocs	ruestudent
eports.php on line 54

Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in C:xampphtdocs	ruestudent
eports.php:56 Stack trace: #0 C:xampphtdocs	ruestudent
eports.php(56): mysqli_fetch_array(false) #1 {main} thrown in C:xampphtdocs	ruestudent
eports.php on line 56
Comment

Warning: Undefined array key "index_no" in C:xampphtdocs ruestudent eports.php on line 54 Fatal error: Uncaught TypeError: mysqli_fetch_array():

<?php
				$sql ="SELECT users.index_no,matokeo.CMT05101,matokeo.CMT05102,matokeo.CMT05103,matokeo.CMT05104,matokeo.CMT05105,matokeo.GPA,matokeo.Remarks FROM users INNER JOIN matokeo ON users.index_no = matokeo.index_no WHERE type='student',index_no ='".$_SESSION['index_no']."";
				$query = mysqli_query($con,$sql);
				while ($row2 =mysqli_fetch_array($query)) {?>
				   <tr style="text-align:center;">
				   	<td><?php echo $row2['index_no'];?></td>
				   	<td><?php echo $row2['CMT05101'];?></td>
				   	<td><?php echo $row2['CMT05102'];?></td>
				   	<td><?php echo $row2['CMT05103'];?></td>
				   	<td><?php echo $row2['CMT05104'];?></td>
				   	<td><?php echo $row2['CMT05105'];?></td>
				   	<td><?php echo $row2['GPA'];?></td>
				   	<td><?php echo $row2['Remarks'];?></td>
				   </tr>
				<?php }?>
Comment

PREVIOUS NEXT
Code Example
Php :: the_field 
Php :: $order- date 
Php :: Laravel advanced sub queries 
Php :: phplinit config 
Php :: many to many relationship laravel example 
Php :: how to make:trait in commend line in laravel 
Php :: php mysqli connect to two databases pdo 
Php :: bitnami wp user pass change 
Php :: php Least prime factor of numbers till n 
Php :: How to check if fwrite failed php 
Php :: view codeigniter 4 
Php :: how to convert php code to html 
Php :: larqavel migration 
Php :: sql update views +1 
Php :: laavel relation through morph 
Php :: iterate over assets container statamic 
Php :: php vender 403 forbidden 
Php :: remove public/index.php from laravel url 
Php :: désinfecte email php 
Php :: Dein Benutzer-Profil um weitere Social Media Accounts erweitern 
Php :: how to filter the all special characters in cakephp from an array 
Php :: how to increment a number after concatinating it with a date function in php 
Php :: Return the union of this RDD and another one 
Php :: How can I display the data stored by summernote on laravel? 
Php :: laravel media library regenerate 
Php :: vault create/enable secret engine 
Php :: php pesos en letras rutina 
Php :: php 5.6 xampp 
Php :: mobibeDetect 
Php :: @parent laravel 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =