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
~581 People Reached
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for scousey2008

[code]if (mysql_num_rows($result) != 1) { $error = 'Failed Login'; include 'index.php'; } else { $_SESSION[‘username’] = '$username'; include 'memberspage.php'; }[/code] in this part result should equal 1 if (mysql_num_rows($result) == 1) that is why it runs the else operation and goes to another page and

Member Avatar for SOB224
0
225
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
160
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
196

The End.