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
~537 People Reached
Favorite Forums
Favorite Tags
Member Avatar for scousey2008

Hi all, I seem to be having a problem. I get the above error when trying my login script. [CODE]<?php $dbhost = "localhost"; $dbname = "userlogin"; $dbuser = "adminuser"; $dbpass = "xxxxxxx"; $dbtable = "users"; mysql_connect ( $dbhost, $dbuser, $dbpass, $dbtable)or die("Could not connect: ".mysql_error()); mysql_select_db($dbname) or die(mysql_error()); session_start(); $username …

Member Avatar for SOB224
0
205
Member Avatar for SOB224

I am trying to keep two menu lists' option in variables but i dont know whether to use "selected" or "select name" to assign value 1st one which brings "Student Numbers" rows from its column in selected class table. [code=php]$query="SELECT StudentNumber,Student_id FROM $CC"; $result = mysql_query ($query); echo "<select name=\"STUDENT\" …

Member Avatar for DiGSGRL
0
145
Member Avatar for SOB224

I have created two table by generating via forms. My question is although second table's foreign key appears on phpmyadmin it doesnt have that same value with the first table's primary key. currently foreign key has all zero values in all of the rows. Table codes: [code=php]$sql2='CREATE TABLE IF NOT …

Member Avatar for SOB224
0
187