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

nitzgamz

The Devotee
Advanced Member
Messages
307
Reaction score
11
Points
28
Hi kung meron po kayo mga katanungan tungkol sa PHP, CSS, jquery, HTML at MySQL post nyo d2, sharing of ideas will be highly appreciated. :salute:

CODE EDITOR DOWNLOAD LINK

1. Notepad ++ http://notepad-plus-plus.org/download
2. Dreamweaver http://www.brothersoft.com/downloads/dreamweaver.html


WINLAMP DOWNLOAD (for backend)
http://winlamp.sourceforge.net/?module=download


XAMPP DOWNLOAD (for backend)
guys ito nga pala ang new version ang xammp 1.7.4

recommended:
get it here => http://www.apachefriends.org/en/xampp-windows.html

Apache 2.2.17
MySQL 5.5.8
PHP 5.3.5
phpMyAdmin 3.3.9
FileZilla FTP Server 0.9.37
Tomcat 7.0.3 (with mod_proxy_ajp as connector)




SOON TO UPDATE (Tutorials and Sample Code) Para hindi na po redundant yung mga mostly na tinatanong po natin. :clap:


REGISTRATION FORM
----------------------------
LOGIN FORM
----------------------------
COMMENT FORM
----------------------------
SEARCH FORM
----------------------------
OTHERS (will be specify soon after you post yours)
----------------------------


From there ilalagay po natin lahat ng may author in every code and tuts together with their links in the thread.. :salute:
PM nyo lang ako pag may nilagay kayong tuts and sample codes tas yung link and dont forget the title kung para san yung tuts and sample code the yun para malagay narin natin... thnx guys for helping others..
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

<B> madami ako tanung sir.hehe
ganito ung lumalabas sa ginawa kung registration form
kapag magcoconnect na siya sa registernext.php kung code ito po oh
"Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\xampp\htdocs\registernext.php on line 14

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in D:\xampp\htdocs\registernext.php on line 14

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\xampp\htdocs\registernext.php on line 15" yan ang error

ito yung code ng registernext.php
"<?php
//include('connection.php');

//test para makita kung ang username ay alphanumeric
$test=$_POST[uname];


if(!eregi(("[^A-Za-z0-9]") , $test)) {
echo "You are Successfully Registered.";


//test for duplicate names
$query="SELECT * FROM user WHERE username='$_POST[uname]'";
$result=mysql_query($query);
$num=mysql_num_rows($result);

if ($num==0) {

}else{
header("Location:duplicatename.html");
}

}else{
header("Location:invalidname.html");
}

?> "

ano po ba problem dun sir?

tsaka ito din yung code ng connection.php ko
"<?php

$host="localhost"; //hostname
$username="precious";//username
$password="cornal"; //database password
$db_name="login_form";//database name

//connect to database
mysql_connect("$host","$username","$password") or die ("cannot connect to server");
mysql_select_db("$db_name") or die ("cannot select DB");

?> "

tapos kapag nagreregister na ako di man napupunta ung information sa database ko na login_form tapos table na user :slap:</B>
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

@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
 

Attachments

  • basic.zip
    3.8 KB · Views: 2,342
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir check also the 2nd line of code naka comment po ung include mo ..
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir nid ko po example ng thickbox.. ung para s registration... san po ba ko pede makakuha ng sample nun? i nid sum mor improvement sa project ko ngaung summer e.. help po
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

sir nid ko po example ng thickbox.. ung para s registration... san po ba ko pede makakuha ng sample nun? i nid sum mor improvement sa project ko ngaung summer e.. help po

thickbox? wat do u mean? pls specify, wat do u want to create and wat do u want to do :)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

TS suggestion ko lang sana may SS para masaya ok para makita lang... nagsstart pa lang ako jan sa PHP MYSQL...bigay ka na lang tips tungkol jan... gusto ko din matutunan yung sa CSS at javascript... at TS sana maglagay ka din nung mga function na laging ginagamit,,, AYOS TO TS.. :yipee::yipee::yipee:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

TS ISA PA ano na mga nagawa mong system??? at pano mo yun ginawa san ka nagsimula? ano mga kelangan? yung mismong cycle ng system.. salamat TS...
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

@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?
thank you sir dun po sa pasword ko cornal po yung password nun..
cge e try ko po sir..


sir check also the 2nd line of code naka comment po ung include mo ..
oo nga po nakacomment pla dpt ko po b alisin un :slap: dmi ksi codes nallito n ako hehe
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

@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?
thank you sir dun po sa pasword ko cornal po yung password nun..
cge e try ko po sir.. tska ano po ung sefault password ng localhost?


sir check also the 2nd line of code naka comment po ung include mo ..
oo nga po nakacomment pla dpt ko po b alisin un :slap: dmi ksi codes nallito n ako hehe
 
Last edited:
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Sir pa tambay d2

para sa mga assignment ko
i hope na marami kaung m22lungan
:salute:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

my tanung p po ako sir Is it possible to build framesets inside of a table? have been working on it for a bit and it just doesn't show anything. I don't know if HTML doesn't allow you to do this or not. Thanks for any help, at pano po b gawin un? my table ksi akung ginawa tpos sa loob nun madaming pang tables.
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

thank you sir dun po sa pasword ko cornal po yung password nun..
cge e try ko po sir.. tska ano po ung sefault password ng localhost?



oo nga po nakacomment pla dpt ko po b alisin un :slap: dmi ksi codes nallito n ako hehe


Access denied for user 'ODBC'@'localhost' (using password: NO)

NO it means u didn't set a password for ur localhost, just call me U :)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Sir pa tambay d2

para sa mga assignment ko
i hope na marami kaung m22lungan
:salute:
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

my tanung p po ako sir Is it possible to build framesets inside of a table? have been working on it for a bit and it just doesn't show anything. I don't know if HTML doesn't allow you to do this or not. Thanks for any help, at pano po b gawin un? my table ksi akung ginawa tpos sa loob nun madaming pang tables.

i haven't tried creating framesets inside a table, cuz i dnt really use framesets, i'll help but let me ask first wat do u want the output wud be? wat do u want to get?ano gusto mo gawin, pls specify :)
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

Access denied for user 'ODBC'@'localhost' (using password: NO)

NO it means u didn't set a password for ur localhost, just call me U
pero my nakalagy n po dun n password u eh "cornal ung nakalagay hmm bt kaya,try ko po tignan mamaya yung codes ko dito p ksi comshop
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

i haven't tried creating framesets inside a table, cuz i dnt really use framesets, i'll help but let me ask first wat do u want the output wud be? wat do u want to get?ano gusto mo gawin, pls specify
hehe madami ako gusto gawin dun sa ginagawa kung webpage hmm gusto ko po ung nasagitna yung frameset kasi db po lagi siya nag oocupy ng space ng browser,tska ano po way mo pag gawa ng isang webpage? are u using tables lng b?
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mas ok ang webpage n tableless.. obsolete n now ang ganyang sstyle o meron man mag gnyan di n sya advisable... use div's + css para sa mga layout mo
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

mas ok ang webpage n tableless.. obsolete n now ang ganyang sstyle o meron man mag gnyan di n sya advisable... use div's + css para sa mga layout mo
hmm try ko po sir gusto ko ksi s gitna yung webpage
 
Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2

hmm try ko po sir gusto ko ksi s gitna yung webpage

sir kung center mismo ung webpage sa css lang yn sir.

ganito po un usually n ginagawa ko..

html
Code:
<body>

    <div id="container">
           <!--- your code goes here --->
     </div>

</body>

css
Code:
#container {
   width:940px;
   height:1200px;
   position:relative;
   margin:0px auto;
   background:red;  /* eto para lang makita lng ung effect */
}

sna makatulong :)
 
Back
Top Bottom