Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~702 People Reached
About Me

It's better to keep your mouth shut and give the impression that you're stupid than to open it and remove all doubt.

Favorite Forums
Favorite Tags
php x 10
Member Avatar for dyea.marcello

I am running a PHP script, and keep getting errors like: *Notice: Undefined variable: result2 in D:\xampp-win32\htdocs\sites\bookstore\result_page.php on line 200 *warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in D:\xampp-win32\htdocs\sites\bookstore\result_page.php on line 200 Line 200 looks like this: `<?php while($row = mysqli_fetch_array($result2))` What do they mean?

Member Avatar for pzuurveen
0
162
Member Avatar for dyea.marcello

I am trying to display a list of my book However I can't select the database: this is a piece of my code: <?php $mysql_hostname = "localhost"; $mysql_user = ""; $mysql_password = ""; $mysql_database = "mag_rocket"; $prefix = ""; $bd = mysql_connect($mysql_hostname) or die("Could not connect database"); mysql_select_db($mysql_database, $bd) or …

Member Avatar for diafol
0
397
Member Avatar for dyea.marcello

I am trying to display a list of the book which category but is not running. this is a piece of my code: <?php require_once('auth.php'); $con=mysqli_connect("localhost","mag_install","mag123","mag_rocket"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query($con,"SELECT * FROM category"); ?> <!DOCTYPE …

Member Avatar for dyea.marcello
0
143