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

ts lagat k nmn ng mga tuts for beginners pdfs or vids .. tnx .. gusto ko kse matututo gumwa ng web eh:pray:


Matagal na ko na din hindi nakikita dito si TS ah...

BTW...

Search ka na lng po dami naman pwedeng reference jan...

kung mahilig ka magyoutube search phpacademy dun ako natuto nung college ako :band:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ts lagat k nmn ng mga tuts for beginners pdfs or vids .. tnx .. gusto ko kse matututo gumwa ng web eh:pray:

w3schools.com kung mag-uumpisa ka lang. Mamili ka na lang kung sang scripting language ka komportable.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

up for this thread,, para sa nangangailangan
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Magandang araw mga master, na tapos ko na po ang training sa basic ng PHP and MYSQL then sa kasalukuyan ay gumagawa ako ng simple STUDENT INFORMATION SYSTEM (add,edit,delet,view,login,logout) para ma apply ko ang natutunan ko, malapit ko na pong matapos ang system.. tanung ko lang po, kapag natapos ko 2ng proyekto ko, pwede na ba ako mag OOP sa PHP at tsaka kapag gus2 ka mag-aral ng framework sa PHP pre-requisite ba ang knowledge ng OOP sa PHP? Ngself-study lang po ako..


Salamat po!
Godbless us all!
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Magandang araw mga master, na tapos ko na po ang training sa basic ng PHP and MYSQL then sa kasalukuyan ay gumagawa ako ng simple STUDENT INFORMATION SYSTEM (add,edit,delet,view,login,logout) para ma apply ko ang natutunan ko, malapit ko na pong matapos ang system.. tanung ko lang po, kapag natapos ko 2ng proyekto ko, pwede na ba ako mag OOP sa PHP at tsaka kapag gus2 ka mag-aral ng framework sa PHP pre-requisite ba ang knowledge ng OOP sa PHP? Ngself-study lang po ako..


Salamat po!
Godbless us all!


Yup... You can start OOP of PHP... You should learn the OOP of PHP kung gagamit kc ng mga web framework... Para mas madali kc makaadapt sa convention ng isang framework :band:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga bossing pa help po

error sa unang open ng page:

Notice: Undefined index: hidden_searching in D:\wamp\www\sample\search.php on line 21

Notice: Undefined index: txt_find in D:\wamp\www\sample\search.php on line 22

ito po yung buong code ko... search record po yan...

<p><a href="home.php">Back</a>

<h2>Search Record</h2>
<form name="frm_search" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
Search by First Name : <input type="text" name="txt_find" />
<input type="hidden" name="hidden_searching" value="yes" />
<input type="submit" name="btn_search" value="Search" />
</form>


<?php

$searching = $_POST['hidden_searching']; - ito yung line 21
$find = $_POST['txt_find']; - ito yung line 22

// this is only displayed if they have submitted the form
if ($searching == 'yes')
{
echo '<h3>Results</h3><p>';

// if they did not enter a search term we give them an error
if ($find == '')
{
echo '<p>You forgot to enter a search term';
exit;
}

// otherwise we connect to our database
include('connect-db.php');

// we perform a bit of filtering
$find = strtoupper($find);
$find = strip_tags($find);
$find = trim ($find);

// now we search for our search term, in the field the user specified
$sql = "SELECT * FROM tbl_players WHERE fld_firstname LIKE '%$find%'";

$result = mysql_query($sql);


// display data in table
echo "<table border='1' cellpadding='10'>";
echo "<tr> <th>ID</th> <th>First Name</th> <th>Last Name</th> <th></th> <th></th>";

// and we display the results
while ($row = mysql_fetch_array ($result))
{
echo "<tr>";
echo '<td>' . $row['fld_id'] . '</td>';
echo '<td>' . $row['fld_firstname'] . '</td>';
echo '<td>' . $row['fld_lastname'] . '</td>';
echo '<td><a href="edit.php?id=' . $row['fld_id'] . '">Edit</a></td>';
echo '<td><a href="delete.php?id=' . $row['fld_id'] . '">Delete</a></td>';
echo "</tr>";
}

// close table
echo "</table>";

// this counts the number or results - and if there wasn't any it gives them a little message explaining that
$anymatches=mysql_num_rows($result);
if ($anymatches == 0)
{
echo "Sorry, but we cannot find a entry to match your query<br><br>";
}

// and we remind them what they searched for
echo "<br><b>Searched For : </b>" . $find;
}
?>

sana po matulungan nyo ako

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

mga bossing pa help po

error sa unang open ng page:

Notice: Undefined index: hidden_searching in D:\wamp\www\sample\search.php on line 21

Notice: Undefined index: txt_find in D:\wamp\www\sample\search.php on line 22

ito po yung buong code ko... search record po yan...



sana po matulungan nyo ako

TIA

Lagay mo sya sa loob ng isset PHP Function.

Ex.
Code:
if( isset( $_POST['btn_search'] ) ){
   $searching = $_POST['hidden_searching'];
   $find = $_POST['txt_find'];

   //Rest of your code...
}
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga boss, undefined index din s akin na error.. supposedly na tapos ko na 2 na page (adding member) pero dinagdagan ko lang ng function na nagvverify if the username is exist, pagkatapos niya nagsimula na siya mg error kaya ang ginawa ko tinanggal ko ulit.. inayos ko, binalik ko sa dati, pero meron nang mga error.. ginamit ko na ang isset() at empty() pero wala pa rin... may idea kaau paano ito ausin, gumana nman 2 nuon walang error.. ngaun lang talaga.. tsk2!

<?php
include_once('include/connection.php');
?>
<html>
<head>
<title>STUDENT INFORMATION</title>
<style>
* {
padding: 0px;
margin: 0px;
}
body {
background-color: rgb(122,146,133);
}
#wrapper {
margin: 0 auto 0;
width: 800px;

background: white;
border: solid #868b77;

}
#header {
width: 800px;
height: 150px;
background: #5090e4;
border-bottom: solid #868b77;
margin-bottom: 20px;
}
#header img {
margin-left: 100px;
}
#content {
width: 800px;
float: left;
margin-bottom: 15px;
}
#content table {
margin: 45px auto 0;
}
h2 {
color: #ee8027;
margin-left:250px;
}

h1 {
color: #ee8027;
font-style: tahoma;
font-size: 50px;
}
#button {
width: 800px;
float: left;
}
#button #right {
margin-left: 650px;
}
#footer {
background: #5090e4;
width: 800px;
height: 60px;
clear: both;
border-top: solid #868b77;
}
#footer p {
color: orange;
padding-top: 20px;
padding-left: 5px;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header"><img src="images/SISlgo_01.gif"/></div>
<div id="content">
<h2>Successfully Registered!</h2>
<?php
if(!isset($_POST['submit']))
{
header('Location: add_stud.php');
}
else
{
$stud_id = addslashes($_REQUEST['stud_id']);
$username = addslashes($_REQUEST['username']);
$retrieve_pass = addslashes($_REQUEST['password']);
$password = addslashes(md5($_REQUEST['password']));
$firstname = addslashes($_REQUEST['fname']);
$middlename = addslashes($_REQUEST['mname']);
$lastname = addslashes($_REQUEST['lname']);
$b_day = addslashes($_REQUEST['b_day']);
if(isset($_REQUEST['course']))
{

foreach($_REQUEST['course'] as $key => $value)
{
$course = $value;
}
}

if(isset($_REQUEST['year']))
{
foreach($_REQUEST['year'] as $key => $value)
{
$year = $value;
}
}
$c_address = addslashes($_REQUEST['c_address']);
$p_address = addslashes($_REQUEST['p_address']);
$email = addslashes($_REQUEST['email']);
$phone = addslashes($_REQUEST['phone']);

$sqlQuery = "INSERT INTO student(stud_id, username, password, firstname, middlename, lastname, b_day, course, year1, c_address, p_address, email, phone, retrieve_pass) VALUES('$stud_id','$username', '$password', '$firstname','$middlename','$lastname','$b_day','$course','$year','$c_address','$p_address','$email','$phone','$retrieve_pass')";

$result = mysql_query($sqlQuery);
}

?>
<table>
<tr>
<td>Student ID</td><td></td>
</tr>
<tr>
<td>Username</td><td><?php echo $username; ?></td>
</tr>
<tr>
<td>Password</td><td><?php echo "Private"; ?></td>
</tr>
<tr>
<td>Firstname</td><td><?php echo $firstname; ?></td>
</tr>
<tr>
<td>Middlename</td><td><?php echo $middlename; ?></td>
</tr>
<tr>
<td>Lastname</td><td><?php echo $lastname; ?></td>
</tr>
<tr>
<td>Birthdate</td><td><?php echo $b_day; ?></td>
</tr>
<tr>
<td>Course/Year</td><td><?php echo $course."/".$year; ?></td>
</tr>
<tr>
<td>City Address</td><td><?php echo $c_address; ?></td>
</tr>
<tr>
<td>Provincial Address</td><td><?php echo $p_address; ?></td>
</tr>
<tr>
<td>E-mail</td><td><?php echo $email; ?></td>
</tr>
<tr>
<td>Contact #</td><td><?php echo $phone; ?></td>
</tr>
</table>
</div>
<div id="button">
<span><a href="home.php"><img src="images/icon_12.gif"/></a></span>
<span id="right"><a href="home.php"><img src="images/icon_13.gif"/></a></span>
</div>
<div id="footer">
<p></p>
</div>
</div>
</body>
</html>



Salamat!
Godbless!
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

SANA MAY PUMANSIN SA TANONG KO. Simple lang naman toh, pano gawing hindi nagre-repeat yung background image sa HTML? Nauulol na ko dito. :D
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga Sir pano ba mag tune ng MySQL? laging na sususpend ung site ko dahil sa high server load.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir/mam pede po mgpatulong?. parequest nmn ng kopya ng SQL PLUS v 9.2.0.1.0 salamat po. more power. :))
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Nabasa ko na toh. Di ako na-satisfied.. Ni-resize ko na lang yung image. HAHAH! Salamat sayo anyway :)

Pinaka makulit na sagot na nabasa ko haha
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga master pde po ba ako ng sample code kung papano mag generate ng reports using php/mysql tinatry ko po ung printer function pero hirap eh.. nag cacrash ung apache... any other way po?? please :noidea:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

1.) ano ibig sabihin at para san 2ng code na 2?

"header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: max-age=2592000")"

2.) "$_SESSION['SESS_MEMBER_ID']" itong SESS_MEMBER_ID built in na bo yan para sa $_SESSION o idineklara yan nang user.. paki explain nahihirapan po akong intindihin..

Salamat mga bossing!
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mahirap po bang magdownload ng mysql installer gamit broadband?


kung sino man po meron link ng installer for windows, kung pwede sana may mag-upload dito sa symbianize. salamat po. super bagal dun sa regular site nila. please. salamat uli.[/QU

sa shop nlang magdownload.. sugal ka muna ka unting pera... :beat:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Mga idol. Patulong naman po sa programming. Using Visual Studio 2010 at MySQL ung database. Library System po kasi ung system ko. SALAMATS! :)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Padaan po, gusto ko din matuto ng ganito, super newbie plang ako, anu po ba magandang language for creating website? :)
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Padaan po, gusto ko din matuto ng ganito, super newbie plang ako, anu po ba magandang language for creating website? :)

read more on w3schools.com
dapat kc marunong ka muna ng html as your foundation on web then CSS and jQuery then saka yung server side....

sa server side naman i will recommend PHP :)
 
Back
Top Bottom