Symbianize Forum

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!

Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok dito

Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

hello mga ka symbianize..

cnu poh d2 may sample codes nang INputting of Student grades ung flexible poh sana..it can remove subjects and add subjects..


maraming salamat poh.. :)//


may project poh kc kame university portal site.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ts may program ba kayo na kagaya ng facebook nakakapagregister,may verification sa email at avatar salamat
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga pro pahingi poh nang sample of student scheduling system :)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir , baka meron po kayong alam dyan na free hosting para sa php and mysql? yung subok nyo na po mga master for educational purposes lang po... sana me makatulong... salamat po...
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir , baka meron po kayong alam dyan na free hosting para sa php and mysql? yung subok nyo na po mga master for educational purposes lang po... sana me makatulong... salamat po...

x10hosting.com
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

pa-help sa thesis namin.. online ojt monitoring with autoamtic advising.. about to sa student na pwd nang magOJT tpos imomonitor nito kung anong kompanya ang kanyang pinagOJThan at dapat rin ang kompanya na ang magcheck ng attendance ng student.At ito pa po sir, kung ang student po ai kukuha ng OJT pero mai mga subjects na hindi pa nya nakuha automatic napo ang system na na magadvice na hindi pa pwd kumuha ng OJT dahil may subjects pa siya na hindi nakuha... pahelp po mga bossing..... need lang kasi sa aming thesis

:praise::praise::praise:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

thanks sir.........:praise:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir/mam patulong nman po. di ko kc ma import yung database sql file sa xampp 1.7.3 may error na lumalabas.

thanks po sa mga sasagot.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ts may facebook like po kayo na program ? Gamit php at html?thanks
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Guys pa help pano po maglagy ng class attribute using jquery.?

example sa NAVIGATION MENU gusto ko sna maglagay ng class="selected" everytime n iclick yong navigation tapos magkakaroon na ng border-color black. reference lang yon para alam ng viewer kung nasang page na xa slamat in advance
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

TS paano nang yari yung ?p= at yung &id= sa mga link? hindi ko masyadong maintindihan kasi yun eh
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

TS paano nang yari yung ?p= at yung &id= sa mga link? hindi ko masyadong maintindihan kasi yun eh

nag papasa sila ng mga custom variables nila n maaring mkuha gamit $_GET['var_name']
sample
Code:
$_GET['p'];
$_GET['id'];
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

gusto ko po sanang matuto ng webpage designing, ang alam kupalang ay ung basic ng html using notepad, tanong lang po ,ano ung mga CSS, PHP, jquery, javascript.Mysql .etc

thaks po sa thread na to:]
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

nag papasa sila ng mga custom variables nila n maaring mkuha gamit $_GET['var_name']
sample
Code:
$_GET['p'];
$_GET['id'];

pano yun? may code ka ba nun or .php file? pwedeng makita yung code mo? medyo nalalabuan ako sa paliwanag mo...
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ano yung ginagamit para mag add yung mga units ng subject na walang error para maimultiply sa tuition per unit.halimbawa 3 units ung math, 4 uung english 3 + 4 =7 900php per unit kaya 7 * 900php = 6300php ginamit ko yung $unit = $test['unit']; $total += $unit;

tama yung computation kaso di mabasa yung $total ginawa ko na lahat para mag read sya T/T:help: thank you
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

TS paano nang yari yung ?p= at yung &id= sa mga link? hindi ko masyadong maintindihan kasi yun eh

This is the URL structure ng PHP.
All strings after ng ? are parameters, They are pair of variables and values.
Each pair of variable and value is separated with &.

You can do whatever you want with your URL. Which is what I like with PHP. Don't get confused with some URLs url.php/variable/another. Whatever the programmer structure it's URL. The application has internal functionality that handles those structure of URL and internally it's just the same as url.php?variable=value&another=1


Each pair will be accessed through global variables such as
$_REQUEST
$_GET
$_POST

ano yung ginagamit para mag add yung mga units ng subject na walang error para maimultiply sa tuition per unit.halimbawa 3 units ung math, 4 uung english 3 + 4 =7 900php per unit kaya 7 * 900php = 6300php ginamit ko yung $unit = $test['unit']; $total += $unit;

tama yung computation kaso di mabasa yung $total ginawa ko na lahat para mag read sya T/T thank you


Can you post here your code?


My presumption:
You got error in here

$total += $unit;

Why?
You don't have an initial value of $total. Since PHP can't determine the type of $total. It will raise a NOTICE that $total has no initial value. Karamihan sa mangyayari if you do ++, +=, --, -+;

Try:
Code:
$total = 0.00;

$unit = $test["unit"];

$total += $unit;
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

This is the URL structure ng PHP.
All strings after ng ? are parameters, They are pair of variables and values.
Each pair of variable and value is separated with &.

You can do whatever you want with your URL. Which is what I like with PHP. Don't get confused with some URLs url.php/variable/another. Whatever the programmer structure it's URL. The application has internal functionality that handles those structure of URL and internally it's just the same as url.php?variable=value&another=1


Each pair will be accessed through global variables such as
$_REQUEST
$_GET
$_POST




Can you post here your code?


My presumption:
You got error in here

$total += $unit;

Why?
You don't have an initial value of $total. Since PHP can't determine the type of $total. It will raise a NOTICE that $total has no initial value. Karamihan sa mangyayari if you do ++, +=, --, -+;

Try:
Code:
$total = 0.00;

$unit = $test["unit"];

$total += $unit;



<?php
include("db.php");
$id =$_SESSION['userid'];
$result=mysql_query("SELECT * FROM studsem WHERE studentID ='$id' AND stat = 0 AND status = 0 AND sem='2nd Semester'");

while($test = mysql_fetch_array($result))
{
$studSemID = $test['studSemID'];
echo "<tr align='center'>";

$getcourse=mysql_query("SELECT course.unit,studsem.year,studsem.status,studsem.studSemID,studsem.program,section.section,studsem.sched,studsem.sem,course.coursetitle,course.unit FROM studsem
LEFT JOIN course ON course.courseID=studsem.courseID
LEFT JOIN section ON section.sectionID=studsem.sectionID
WHERE studSemID='$studSemID' AND stat = 0 AND status = 0") or die(mysql_error());
$getthis=mysql_fetch_array($getcourse);

$unit = ($getthis['unit'] * 1);
$total +=$unit;
}
mysql_close($conn);
?> ito sir yung code ty
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

<?php
include("db.php");
$id =$_SESSION['userid'];
$result=mysql_query("SELECT * FROM studsem WHERE studentID ='$id' AND stat = 0 AND status = 0 AND sem='2nd Semester'");

while($test = mysql_fetch_array($result))
{
$studSemID = $test['studSemID'];
echo "<tr align='center'>";

$getcourse=mysql_query("SELECT course.unit,studsem.year,studsem.status,studsem.studSemID,studsem.program,section.section,studsem.sched,studsem.sem,course.coursetitle,course.unit FROM studsem
LEFT JOIN course ON course.courseID=studsem.courseID
LEFT JOIN section ON section.sectionID=studsem.sectionID
WHERE studSemID='$studSemID' AND stat = 0 AND status = 0") or die(mysql_error());
$getthis=mysql_fetch_array($getcourse);

$unit = ($getthis['unit'] * 1);
$total +=$unit;
}
mysql_close($conn);
?> ito sir yung code ty

put $total = 0.00; before while
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

pano yun? may code ka ba nun or .php file? pwedeng makita yung code mo? medyo nalalabuan ako sa paliwanag mo...

e2 yung sa url
index.php?p=me&d=ka

tapos e2 sa codes
<?
$p = $_GET['p'];
$d = $_GET['d'];

echo $p.' '.$d;

?>

e2 yung result


ung $_GET method kinukuha niya ung nsa url

pero pede mo din gamitin yung $_REQUEST
 
Last edited:
Back
Top Bottom