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!
Sir,
Ano ano po ang need para makagawa ka ng isang website?
Local lang po ah..
lahat po apps and software na need.
Thanks..
otoy, paturo naman mag gawa ng website na may mga menu , tpos pag iclick mo ung menu eh, ndi siya mapupunta sa bagong tab, same page parin siya maglabas. >.< waaa
TASUKETE....
<div id="menu">
<div class="container">
<div class="region-menu">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="about.php">About Us</a></li>
<li><a href="services.php">Services</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
</div>
</div>
</div>
.region-menu ul li {
float: left; /* Para inline yung title */
}
sir panu mag add page delete page and update page ?
alam mo ba yung html code for kapag icliclick mo yung button magiging black ung background color tapos white yung font text. tapos pag cnlick mo ulit, babalik sa dati, magiging white bg ulit at black font?
a {
color:#333;
background: #FFF;
}
a:focus {
color:#FFF;
background:#333;
}
Mga sir paano po ba ito? ang balak ko po kasing gawin ialin yung text sa image bali image tapos nasa right yung text
eto po codes ko
<html>
<head>
<style type="text/css">
body{
background-image:url("C:\Users\myAsus\Desktop\image\r3.png" align="middle");
background-repeat:no-repeat;
background-position: 50% 50%;
background-attachment:fixed;
}
#box{
border:solid 2px #ccff33;
padding:15px;
margin-left:30%;
margin-right:24%;
margin-top:5%;
` margin-bottom: 20%;
border-radius:15px;
box-shadow:5px 5px 5px #888888;
}
img{
vertical-align:middle;
height:200px;
width:200px;
padding-right: 50%;
}
li{
display:inline;
padding:10px;
background-color:CCCCCC;
border-radius:10px;
box-shadow:5px 5px 5px FF9933;
}
li:hover{
display:inline;
padding:10px;
background-color:0066CC;
}
a:link{
color:33FFFF;
font-weight:bolder;
text-decoration:none;
}
a:hover{
color:FF6633;
font-weight:bolder;
text-decoration:none;
font-style:italic;
}
ul{
margin-top:15%;
margin-left:30%;
margin-right:20%;
}
</style>
</head>
<body>
<UL>
<li><a href="#">Input device</a></li>
<li><a href="#">Output Device</a></li>
<li><a href="#">Software Application</a></li>
<li><a href="#">Operating System</a></li>
</UL>
<div id="box">
<div style="color:000099;font-family:Times New Roman;
font-size:15px;font-weight:bold;">In computing, an input device is a peripheral (piece of computer hardware
equipment) used to provide data and control signals to an information processing system such as a computer or
other information appliance. Examples of input devices include keyboards, mouse, scanners, digital cameras and
joysticks.
<img src="C:\Users\myAsus\Desktop\image\download.jpg">
</div></div>
</body>
</html>
ahm sir.. pwede po paexplain? di ko po kasi alam kung saang part ko ilalagay yung div eh. pasensya na po, bale tinry ko pong ilagay yung div before dun sa <tr>, then ito po yung result:View attachment 1003441
- - - Updated - - -
ahm sir.. natry ko na po.. bale ito po yung result. yung ibang mga chat naman sumunod and di sila nag overlap, pero yung iba po nagoverlap padin. tingi nyo po, anu yung problem nito? oh ako po mismo yung prob? hahahaha.. pasensya na po, noob po..
dito ko po s shouts.php nilagay:
<?php
$connection=mysql_connect("localhost","root","") or die (mysql_error());
$select_db=mysql_select_db('try') or die (mysql_error());
session_start();
?>
<html>
<head>
<style type="text/css">
#gg
{
max-width:50%;
min-width:150px;
background: #ffeec0;
padding:2px;
margin:3px;
border-radius: 2px;
border:1px solid #ffdd7c;
float: left;
clear: left;
}
</style>
<meta http-equiv="content-type" content="html/text"/>
<meta http-equiv="refresh" content="10;url=shouts.php"/>
</head>
<body bgcolor='white'>
<?php
$sql="SELECT * FROM message ORDER BY id DESC";
$res=mysql_query($sql,$connection) or die (mysql_error());
while ($row=mysql_fetch_assoc($res))
{
echo "<div id='gg'>"."<center>".$row["message"]."</center>"."</div>"."<br/>";
}
?>
</body>
</html>
then ito po yung result:
View attachment 1003446
na loloop din yung div nyo po
try this
echo "<div='gg1'>"; <!--nilabas ko lang yung div -->
while ($row=mysql_fetch_assoc($res))
{
echo "<center>".$row["message"]."</center><br/>";
}
echo "</div>";
?>
if(isset($_FILES['q30_barangayClearance'])){
$errors= array();
// foreach($_FILES['q30_barangayClearance']['tmp_name'] as $key => $tmp_name ){
$file_name = $_FILES['q30_barangayClearance']['name'];
$file_size =$_FILES['q30_barangayClearance']['size'];
$file_tmp =$_FILES['q30_barangayClearance']['tmp_name'];
$file_type=$_FILES['q30_barangayClearance']['type'];
$date=date("Y");
$file_ext = explode('.',$file_name);
$file_ext = end($file_ext);
// if($file_size > 2097152){
// $errors[]='File size must be less than 2 MB';
// }
$desired_dir="uploaded/$date/";
if(empty($errors)==true){
if(is_dir($desired_dir)==false){
mkdir("$desired_dir", 0700);
// Create directory if it does not exist
}
if(is_dir("$desired_dir".$file_name)==false){
move_uploaded_file($file_tmp,"$desired_dir"."BrgyClr".$mem_ID.'.'.$file_ext);
}else{ //rename the file if another one exist
rename($desired_dir,$desired_dir.$file_name.time().$file_ext);/*
$desired_dir="$desired_dir".$file_name.time();
rename($file_tmp,$desired_dir) ; */
}
mysqli_query($conn,"INSERT into documents (`id`,`mem_ID`,`name`,`type`,`size`,`year`,`docType`,`path`)
VALUES('','$mem_ID','$file_name','$file_type','$file_size','$date','Barangay Clearance','$desired_dir')") or die(mysqli_error($conn));
}else{
print_r($errors);
}
}
if(empty($error)){
echo "Success";
}
hala.. hahahahahhaXD salamat po sir imico,
gumana na sya..XD mini chatbox po kasi gagawin ko para pde kaming magchat ng mga friends ko^^
salamat ts..
last question na po, diba po dito sa symbianize, maraming gumagawa ng threads? bale everytime na gagawa sila ng thread tapos napupuno yung isang page, nagdadagdag sila ng panibagong page, pano po ba yung coding dun? bale di ko po kasi magets, ang alam ko lang is href, kaso prang araw araw ko ata gagawin yung code ko para mag dagdag ng page diba? may idea po ba kayo? hahahaha. sorry po ah, gusto ko din po kasing gayahin, kaso di ko alam..
ito po yung picture nya oh:
View attachment 1004840
Salamat po in advance..^^
ah pagination. pakitry panoorin yung video tutorial sa developphp about pagination. okay naman. naeexplain namang mabuti
patingin nga ng form mo sir yung may upload na function..tyguys pahelp nmn po ! meron po akong 6buttons na pang upload ng file..eton po yung code ko para sa pang upload
eto po yung una
Code:if(isset($_FILES['q30_barangayClearance'])){ $errors= array(); // foreach($_FILES['q30_barangayClearance']['tmp_name'] as $key => $tmp_name ){ $file_name = $_FILES['q30_barangayClearance']['name']; $file_size =$_FILES['q30_barangayClearance']['size']; $file_tmp =$_FILES['q30_barangayClearance']['tmp_name']; $file_type=$_FILES['q30_barangayClearance']['type']; $date=date("Y"); $file_ext = explode('.',$file_name); $file_ext = end($file_ext); // if($file_size > 2097152){ // $errors[]='File size must be less than 2 MB'; // } $desired_dir="uploaded/$date/"; if(empty($errors)==true){ if(is_dir($desired_dir)==false){ mkdir("$desired_dir", 0700); // Create directory if it does not exist } if(is_dir("$desired_dir".$file_name)==false){ move_uploaded_file($file_tmp,"$desired_dir"."BrgyClr".$mem_ID.'.'.$file_ext); }else{ //rename the file if another one exist rename($desired_dir,$desired_dir.$file_name.time().$file_ext);/* $desired_dir="$desired_dir".$file_name.time(); rename($file_tmp,$desired_dir) ; */ } mysqli_query($conn,"INSERT into documents (`id`,`mem_ID`,`name`,`type`,`size`,`year`,`docType`,`path`) VALUES('','$mem_ID','$file_name','$file_type','$file_size','$date','Barangay Clearance','$desired_dir')") or die(mysqli_error($conn)); }else{ print_r($errors); } } if(empty($error)){ echo "Success"; }
then change ko lang name ng $_FILES[] para sa 5 pang buttong na pang upload
pero kapag lahat ng buttons ng upload ay may selected image wala syang macopy pero pag isa lang selected na image sa isang button ok nmn po sya :/
ANY HELP!PLS