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

patulong po mga kasymb i am starting to make our thesis wala po akong masyadong experience sa php mysql hanggang crud lang kasi ako tatanungin ko lang po sana kung paano gawin sa php mysql yung auto increment nang mga id numbers nang students bale ang gusto kopo mangyari eh kapag may magreregister na student eh ang defualt niya is yung year and number parang ganito po 2015-0001 and den sa next student naman is 2015-002 thanks sana matulungan niyo ako
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

yan n yung function ng pag upload..nag array nlng me at niloop ko pra maiksi codes
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Pahelp po paano yung Jquery Upload image.. gaya sa Ayosdito.ph
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir pa help po sa CSS and HTML... may codes po ba kayo para sa simple Website na hindi po gagamit ng iFrame.. salamat po TIA nga master
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

patulong po mga kasymb i am starting to make our thesis wala po akong masyadong experience sa php mysql hanggang crud lang kasi ako tatanungin ko lang po sana kung paano gawin sa php mysql yung auto increment nang mga id numbers nang students bale ang gusto kopo mangyari eh kapag may magreregister na student eh ang defualt niya is yung year and number parang ganito po 2015-0001 and den sa next student naman is 2015-002 thanks sana matulungan niyo ako

Mark mo lang na auto increment yung primary key mo sa MYSQL. automatic na mag i-increment yun everytime na mag add ng records
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ts may tanong ako about ftp..
pwede ko ba ma access pc ko na naka offline gamit ftp account ko online?
naka link na pc ko sa ftp ko using filezilla...
pwede ko ba sya i access gaya nito (ftp.mydomain.com) gamit usename at password ng cpanel ko?
salamat sa thread mo very useful to sa mga mahilig sa website.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

ts may tanong ako about ftp..
pwede ko ba ma access pc ko na naka offline gamit ftp account ko online?
naka link na pc ko sa ftp ko using filezilla...
pwede ko ba sya i access gaya nito (ftp.mydomain.com) gamit usename at password ng cpanel ko?
salamat sa thread mo very useful to sa mga mahilig sa website.

actually sir ang ftp is account sya online, kaya anytime ma aaccess mo sya basta may internet ka,
pero di nyo po maaacess yung files sa pc nyo thru ibang pc, pwera nlang kung online din yung pinaka pc nyo.
mrami naman pong app dito para macontrol mo yung pc mo thru other pc eh..
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

pero ang gusto kopo eh yung amgiging id eh ganito 2015-001 hindi po auto increment na 1 2 3 4 5 etc.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

pero ang gusto kopo eh yung amgiging id eh ganito 2015-001 hindi po auto increment na 1 2 3 4 5 etc.

ganito nlng bro....as is mo yung primary id na auto-increment....tapos gawa ka nang student_id na field......para maging 2015-001 ang student_id gamitin mo yung php function date pero yung year lng....concatenate mu nlng yung 001 002 003 and so on...

- - - Updated - - -

sir pa help po sa CSS and HTML... may codes po ba kayo para sa simple Website na hindi po gagamit ng iFrame.. salamat po TIA nga master

gamit ka nlng po nang <div></div> instead <iframe>
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help po im practising php mysql po kasi ayaw kopo kasi na panay copy paste yung mga codes ko eh anu po kaya error or mali dito sa code ko??

<!doctype html>
<html lang="en">
<head>
<title>MY FIRST ASSIGNMENT </title>
<link rel="stylesheet" type="text/css" href="css/style.css" >
</head>
<body>
<?php
require ('connection.php');

if (isset($_POST['submit'])){
$wholename1=($_POST['wholename']);
$institution1=($_POST['institution']);
$address1=($_POST['address']);
$position1=($_POST['position']);
$contactemail1=($_POST['contactemail']);
$sql=mysqli_query("INSERT INTO contact_us(name, institution, address, position, contactEmail)
VALUES ('$wholename', '$institution', '$address', '$position1 '$contactemail')");


}


?>
<div id="registration_content">
<h1> Attendee Information </h1>
<form action="register.php" method="POST">
<tr>
Name of the participant: <td><input type="text" name"wholename"/></td>
</tr>
</br>
</br>

<tr>
Institution: <td><input type="text" name"institution"/></td>
</tr>
</br>
</br>


<tr>
Address: <td><input type="text" name"address" height="200"/></td>
</tr>
</br>
</br>

<tr>
Position: <td><input type="text" name"position" height="200"/></td>
</tr>
</br>
</br>

<tr>
Contact Email: <td><input type="text" name"contactemail" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"arrivaldate" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"departuredate" height="200"/></td>
</tr>
</br>
</br>

<SELECT>

<OPTION Value="-select-">Under 16</OPTION>
<OPTION Value="16 to 25">16 to 25</OPTION>
<OPTION Value="26 to 40">26 to 40</OPTION>
<OPTION Value="40 to 60">40 to 60</OPTION>
<OPTION Value="Over 60">Over 60</OPTION>

</SELECT>


<br /><input type="submit" name="submit" value="REGISTER">

</form>
</body>
</html>
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help po im practising php mysql po kasi ayaw kopo kasi na panay copy paste yung mga codes ko eh anu po kaya error or mali dito sa code ko??

<!doctype html>
<html lang="en">
<head>
<title>MY FIRST ASSIGNMENT </title>
<link rel="stylesheet" type="text/css" href="css/style.css" >
</head>
<body>
<?php
require ('connection.php');

if (isset($_POST['submit'])){
$wholename1=($_POST['wholename']);
$institution1=($_POST['institution']);
$address1=($_POST['address']);
$position1=($_POST['position']);
$contactemail1=($_POST['contactemail']);
$sql=mysqli_query("INSERT INTO contact_us(name, institution, address, position, contactEmail)
VALUES ('$wholename', '$institution', '$address', '$position1 '$contactemail')");


}


?>
<div id="registration_content">
<h1> Attendee Information </h1>
<form action="register.php" method="POST">
<tr>
Name of the participant: <td><input type="text" name"wholename"/></td>
</tr>
</br>
</br>

<tr>
Institution: <td><input type="text" name"institution"/></td>
</tr>
</br>
</br>


<tr>
Address: <td><input type="text" name"address" height="200"/></td>
</tr>
</br>
</br>

<tr>
Position: <td><input type="text" name"position" height="200"/></td>
</tr>
</br>
</br>

<tr>
Contact Email: <td><input type="text" name"contactemail" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"arrivaldate" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"departuredate" height="200"/></td>
</tr>
</br>
</br>

<SELECT>

<OPTION Value="-select-">Under 16</OPTION>
<OPTION Value="16 to 25">16 to 25</OPTION>
<OPTION Value="26 to 40">26 to 40</OPTION>
<OPTION Value="40 to 60">40 to 60</OPTION>
<OPTION Value="Over 60">Over 60</OPTION>

</SELECT>


<br /><input type="submit" name="submit" value="REGISTER">

</form>
</body>
</html>
anu po laman ng connection ng php nyo?
kasi kung connection lang sya like mysql_connect(bla, bla , bla),
pde nyo na rin namang ialgay dun mismo sa <?php?> na nasa taas ng html nyo bago po yung isset.. di ko po kasi matry ngayon, wala po kasing xammp eh.. di ko lang po sure yun sir ah.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help po im practising php mysql po kasi ayaw kopo kasi na panay copy paste yung mga codes ko eh anu po kaya error or mali dito sa code ko??

<!doctype html>
<html lang="en">
<head>
<title>MY FIRST ASSIGNMENT </title>
<link rel="stylesheet" type="text/css" href="css/style.css" >
</head>
<body>
<?php
require ('connection.php');

if (isset($_POST['submit'])){
$wholename1=($_POST['wholename']);
$institution1=($_POST['institution']);
$address1=($_POST['address']);
$position1=($_POST['position']);
$contactemail1=($_POST['contactemail']);
$sql=mysqli_query("INSERT INTO contact_us(name, institution, address, position, contactEmail)
VALUES ('$wholename', '$institution', '$address', '$position1 '$contactemail')");


}


?>
<div id="registration_content">
<h1> Attendee Information </h1>
<form action="register.php" method="POST">
<tr>
Name of the participant: <td><input type="text" name"wholename"/></td>
</tr>
</br>
</br>

<tr>
Institution: <td><input type="text" name"institution"/></td>
</tr>
</br>
</br>


<tr>
Address: <td><input type="text" name"address" height="200"/></td>
</tr>
</br>
</br>

<tr>
Position: <td><input type="text" name"position" height="200"/></td>
</tr>
</br>
</br>

<tr>
Contact Email: <td><input type="text" name"contactemail" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"arrivaldate" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"departuredate" height="200"/></td>
</tr>
</br>
</br>

<SELECT>

<OPTION Value="-select-">Under 16</OPTION>
<OPTION Value="16 to 25">16 to 25</OPTION>
<OPTION Value="26 to 40">26 to 40</OPTION>
<OPTION Value="40 to 60">40 to 60</OPTION>
<OPTION Value="Over 60">Over 60</OPTION>

</SELECT>


<br /><input type="submit" name="submit" value="REGISTER">

</form>
</body>
</html>

sayo --> Name of the participant: <td><input type="text" name?"wholename"/></td>

sa akin --> Name of the participant: <td><input type="text" name="wholename"/></td>
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help po im practising php mysql po kasi ayaw kopo kasi na panay copy paste yung mga codes ko eh anu po kaya error or mali dito sa code ko??

<!doctype html>
<html lang="en">
<head>
<title>MY FIRST ASSIGNMENT </title>
<link rel="stylesheet" type="text/css" href="css/style.css" >
</head>
<body>
<?php
require ('connection.php');

if (isset($_POST['submit'])){
$wholename1=($_POST['wholename']);
$institution1=($_POST['institution']);
$address1=($_POST['address']);
$position1=($_POST['position']);
$contactemail1=($_POST['contactemail']);
$sql=mysqli_query("INSERT INTO contact_us(name, institution, address, position, contactEmail)
VALUES ('$wholename', '$institution', '$address', '$position1 '$contactemail')");


}


?>
<div id="registration_content">
<h1> Attendee Information </h1>
<form action="register.php" method="POST">
<tr>
Name of the participant: <td><input type="text" name"wholename"/></td>
</tr>
</br>
</br>

<tr>
Institution: <td><input type="text" name"institution"/></td>
</tr>
</br>
</br>


<tr>
Address: <td><input type="text" name"address" height="200"/></td>
</tr>
</br>
</br>

<tr>
Position: <td><input type="text" name"position" height="200"/></td>
</tr>
</br>
</br>

<tr>
Contact Email: <td><input type="text" name"contactemail" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"arrivaldate" height="200"/></td>
</tr>
</br>
</br>

<tr>
Arrival Date: <td><input type="date" name"departuredate" height="200"/></td>
</tr>
</br>
</br>

<SELECT>

<OPTION Value="-select-">Under 16</OPTION>
<OPTION Value="16 to 25">16 to 25</OPTION>
<OPTION Value="26 to 40">26 to 40</OPTION>
<OPTION Value="40 to 60">40 to 60</OPTION>
<OPTION Value="Over 60">Over 60</OPTION>

</SELECT>


<br /><input type="submit" name="submit" value="REGISTER">

</form>
</body>
</html>

kulang lahat ng "equal sign(=)" yung ''name" attributes mo sa input sa submit button lang meron kaya nag naseset pa din ang submit na POST.wahaha
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir pa help nmn po kung pano po gamitin ung wordpress pra maka pag upload po ng simple BLOGsite... TIA
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mga sir pa help nmn po kung pano po gamitin ung wordpress pra maka pag upload po ng simple BLOGsite... TIA

DL ka nang wordpress sa site nila wordpress.org....tapos configure mo config.php.....tapos save mo sa localhost.....
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

boss pahelp naman paano to paganahin sa HTML diba dalawa gagawin dito para gumana to isa sa HTML isa sa PHP la kasi kuya ko dito nakionline lang ako sa account niya.


<?php

//################################################## ########################
// ITEXMO SEND SMS API
// Visit www.itexmo.com/developers.php for more info about this API
//################################################## ########################
function itexmo($number,$message,$apicode){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode);
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);}
function itexmo_bal($apicode){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('4' => $apicode);
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);}
//################################################## ########################

$result = itexmo("09999045349","Test Message","cuteko");
if ($result == 0){
echo "Message sent!";
}else{
echo "Error Num ". $result . " was encountered!";
}


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

help po panu pi ishow ung date sa calendar base sa database pag wala sa database dpat nkahide pag meron sa database dpat nkaenable.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

help po panu pi ishow ung date sa calendar base sa database pag wala sa database dpat nkahide pag meron sa database dpat nkaenable.

pakita mo po script mo d2?
malamang sa query lang yan.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

boss pahelp naman paano to paganahin sa HTML diba dalawa gagawin dito para gumana to isa sa HTML isa sa PHP la kasi kuya ko dito nakionline lang ako sa account niya.


<?php

//################################################## ########################
// ITEXMO SEND SMS API
// Visit www.itexmo.com/developers.php for more info about this API
//################################################## ########################
function itexmo($number,$message,$apicode){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode);
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);}
function itexmo_bal($apicode){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('4' => $apicode);
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);}
//################################################## ########################

$result = itexmo("09999045349","Test Message","cuteko");
if ($result == 0){
echo "Message sent!";
}else{
echo "Error Num ". $result . " was encountered!";
}


thanks in advance

anong ibig mong sabihin na paganahin sa HTML....sa PHP file pwdi kang mag encode nang HTML tag.....
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

anong ibig mong sabihin na paganahin sa HTML....sa PHP file pwdi kang mag encode nang HTML tag.....

ano kaya kulang ko dito

send.php
<?php

//################################################## ########################
// ITEXMO SEND SMS API
// Visit www.itexmo.com/developers.php for more info about this API
//################################################## ########################
function itexmo($number,$message,$apicode){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('1' => $number, '2' => $message, '3' => $apicode);
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);}
function itexmo_bal($apicode){
$url = 'https://www.itexmo.com/php_api/api.php';
$itexmo = array('4' => $apicode);
$param = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($itexmo),
),
);
$context = stream_context_create($param);
return file_get_contents($url, false, $context);}
//################################################## ########################

$result = itexmo("09999045349","Test Message","cuteko");
if ($result == 0){
echo "Message sent!";
}else{
echo "Error Num ". $result . " was encountered!";
}


thanks in advance

try.html
<font size="5" face="arial" color="black">
Contact Form
<form name="contactform" method="post" action="send.php">
<table width="450px">
</tr>
<tr>
<td valign="top">
<label for="telephone">Telephone Number</label>
</td>
<td valign="top">
<input type="text" name="telephone" maxlength="30" size="30">
</td>
</tr>
<tr>
<td valign="top">
<label for="message">Message *</label>
</td>
<td valign="top">
<textarea name="message" maxlength="640" cols="25" rows="6"></textarea>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center">
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>
</font>
 
Back
Top Bottom