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
~845 People Reached
Favorite Forums
Favorite Tags
php x 10
Member Avatar for mbabaali

hi everybody i have this code for selecting data from my sql database but when i outpot it it it looses align ment,can someone help me ,pliz,thanks [code]<?php //The code is for selecting all patients records in the database //This selects the database and connects to the database require_once('Connections/Database.php'); mysql_select_db($database_Database, …

Member Avatar for gopinathan
0
159
Member Avatar for mbabaali

[code]<?php //The code is for selecting all patients records in the database where a particular month and year //This selects the database and connects to the database require_once('Connections/Database.php'); mysql_select_db($database_Database, $Database); if (!$_POST['monapt']| !$_POST['yearapt']) { die('You did not complete all of the required fields,<a href="monthlyrecords.html">Back to previous page </a>'); } $a=$_POST['monapt']; …

Member Avatar for mbabaali
0
96
Member Avatar for mbabaali

i have a problem with this code amay any one help me am doing a class project but stuck here is the code its bring an error Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in C:\wamp\www\kawempe_HC\staf.php on line 7 Warning: mysql_fetch_row(): supplied argument is not a …

Member Avatar for mbabaali
0
96
Member Avatar for mbabaali

am doing my class project but am stuck i want to oepn the administrator category in valid_user table is Administrator and if Normal user to open welcomepage here is the code it only open admnwelcom.html even when the catagory is Normal_user.here is the Php code [code=php]<?php // This code will …

0
72
Member Avatar for mbabaali

am using a select option on the html form and i want to insert the username and password if it does exist basing on a category selected form the select list if the user select administtrator as the category the username and password shd be inserted in the admin table …

0
61
Member Avatar for mbabaali

am writting my class work project assignment but am stuck can some one help me out, am tring to pick data from patients table and diagnosistreatment tables which are mysql tables but the code is not working [code]<?php //This code retrieves a particulat patients record from dianosis and treatment table …

Member Avatar for djjjozsi
0
93
Member Avatar for mbabaali

pliz help ma have this code but it doesnt delete records ,am tuck what could be the problem,thanks here is the code <?php require_once('Connections/Database.php'); mysql_select_db($database_Database, $Database) or die("Unable to select database"); $aa=$_POST['pnum']; $bb=$_POST['dnum']; mysql_query("DELETE FROM doctor WHERE dID='$aa'"); $checkresult=mysql_query($query) ; if ($checkresult) echo 'delete query succeeded'; else echo 'delete query …

Member Avatar for BzzBee
0
72
Member Avatar for mbabaali

am doing a classroom project but am stuck with the registering users script it does send the data to the mysql database ppliz help me out thanks here are both the html and php codes . [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" …

Member Avatar for somedude3488
0
196