Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.
All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
panu pu ung easiest way or basic ng
one page lang na process
like po ng registration.php
gusto ko lalabas ung registration form
sabay pag may error dun padin sya sa registration.php
tapos pag nagsuccess po ay nasa registration.php pdn po
mga sir patulong naman, paki pansin naman po..
ang recommendation kasi is, makapag add ng grade continuously
eto po ginawa ko code
galing sa db,
Code:<?php $query = mysql_query("select * from students, stud_subject, tc_handle where tc_handle.secid = stud_subject.secid and tc_handle.sid = '$_SESSION[sid]' and tc_handle.sub_id = '$_GET[view]' and students.id = stud_subject.id and stud_subject.sub_id = tc_handle.sub_id and stud_subject.remark=''"); while ($row = mysql_fetch_array($query)){ ?> <form action="tc_addall.php" method="post"> <?php $f_name = $row['lastname'].' , '.$row['firstname'].$row['middlename'].'<br>'; echo '<p class="name">'.$f_name.'</p>'; echo $row['id']; ?> <p class="oo"> <input name="fg[]" type="text" id="fg[]" size="1"/> <input name="sg[]" type="text" id="sg[]" size="1"/> <input name="tg[]" type="text" id="tg[]" size="1"/> <input name="forg[]" type="text" id="forg[]" size="1"/> </p> <?php $a=$a+1;}?>
at eto po ung save ko, ---- problema po pano po ba?
Code:<?php if(isset($_POST['save'])) { $g_year['acad_id']; $fg=$_POST['fg']; $sg=$_POST['sg']; $tg=$_POST['tg']; $forg=$_POST['forg']; for($i=0;$i<count($fg) && $i<count($sg) && $i<count($tg) && $i<count($forg);$i++){ $first = $fg[$i]; $sec = $sg[$i]; $tir = $tg[$i]; $for = $forg[$i]; $f_subj=mysql_query("select * from tbl_grades where firstgrading='$first' && secondgrading='$sec' && thirdgrading='$tir' && fourthgrading='$for'")or die(mysql_error()); $g_subj=mysql_fetch_array($f_subj); if($g_subj==0) { mysql_query("insert into tbl_grades set firstgrading='$fg', secondgrading='$sg', thirdgrading='$tg', $fourthgrading='$for'")or die (mysql_error()); } } } ?>
I did the modifications.
Sorry i forgot to inform you.
i need first to add a record.
Thanks for your patience.
Teacher ba gagamit ng system mu sir?
Naku!mukhang mahihirapan sila, kasi yung tita kong teacher, ever grading period napupuyatan sa pagttype ng grading sheet niya sa excell, yun yung pinapasa nila sa registrars office.
Pag admin naman gagamit, mas lalong mahirap, kasi every grading record siya na magiinput.
Sa system ko, ang ginawa ko, iupload lang yung grading sheet in xls format sa system, tas yung system na bahalang magsave sa datase yung mga laman sa grading sheet. Tas after msave sa datase, yung teacher meron na siyang option to edit the grades individualy incase may mali. That way mas mapapabilis yung process, less effort pa.
Teacher ba gagamit ng system mu sir?
Naku!mukhang mahihirapan sila, kasi yung tita kong teacher, ever grading period napupuyatan sa pagttype ng grading sheet niya sa excell, yun yung pinapasa nila sa registrars office.
Pag admin naman gagamit, mas lalong mahirap, kasi every grading record siya na magiinput.
Sa system ko, ang ginawa ko, iupload lang yung grading sheet in xls format sa system, tas yung system na bahalang magsave sa datase yung mga laman sa grading sheet. Tas after msave sa datase, yung teacher meron na siyang option to edit the grades individualy incase may mali. That way mas mapapabilis yung process, less effort pa.
first, salamat po sa pag pansin nito...
teacher po ang gagamit nito, pero mas madali lang po ATA gusto ko gawin at mangyari,
Teacher iupload niya lang ung mga grades ng students na COMPUTED na po, viewing lang po si student...
sir pwede penge sample on how to do that po i still got no idea pa po!
Attached files modified.
Sir, question are you the one who made this codes?
Other than that, just run this codes. I never run it. I just code it. Hahaha. You can just debug. Base on your codes I guess that's what you wanted. Please see attachment.
Don't forget to view your server logs for errors for easier debugging.
saan kopo maiimport ung users.sql?@pclogger: try to change ur username and password in ur connection.php
$username = "root"; <=== it shud be root,
$password = ""; <=== the way i see it u didn't set ur password for the localhost, so the default pass will be none.
here try this very basic login script i made.,
it lets users register and login,.
ang problem lng is i didn't made the validation, kaya ikaw na mag lagay sa validation, like hashing the password in the database, etc.. i did it in purpose kc maraming ways sa validation imo.
dont hesitate to share ur problems, TS made this thread para magtulungan tau, right TS?
password for my script is: password
saan kopo maiimport ung users.sql?
mga masters paano ko po ma didisplay ung mga word na na my mag kakaparehas na word...
sample
Java
and
Java Programming
eto my nagawa aq kaso kung ano lang ung nilagay mo sa textbox un lang ung lalabas
<form action="#" method="post">
<table>
<tr>
<input type="search" name="word" />
<input type="submit" name="search" value="Search"/>
</tr>
</table>
</form>
<?php
include "db-connect.php";
if($_SERVER["REQUEST_METHOD"]=="POST")
{
$word = $_POST['word'];
$sql=mysql_query("SELECT * from dictionary where w_name ='$word'");
$info = mysql_fetch_array($sql);
echo $info['w_name'];
}
?>