Welcome to Official "Darkness" Forum.

 

 
 
HomeRegisterLog in
Top posters
-=Dark Master=-
 
†dArk_r0okiE†
 
†Dark Prince†
 
^DarkLord^
 
dark_kernel™
 
Dark_MessengeR_kHai
 
darknet
 
traxexpulse12
 
xo Dark Scene xo
 
Darkness
 
Latest topics
» Himmatwala .pk. Song
Wed Feb 19, 2014 10:23 am by golmana

» Hentai Games Pc 2013
Sat Feb 15, 2014 4:57 pm by golmana

» FalloutNVUERK.part1.rar
Sat Feb 15, 2014 8:05 am by golmana

» The dark forum must rise again!!
Wed Aug 17, 2011 11:25 am by -=Dark Master=-

» gEntleNES!! :))
Tue Jul 19, 2011 4:05 pm by †dArk_r0okiE†

» Personal/Educational Info here
Sun Jul 03, 2011 12:53 am by Dark_Dragon

»  Get the best web design with the best web design software.
Mon Apr 18, 2011 2:38 pm by RebeccaChirby

» BUHAYIN ULIT ANG DARKNESS
Sat Oct 09, 2010 1:30 pm by Darkness

» HELP!!!!! for gamers only
Sat Feb 06, 2010 1:27 pm by xo Dark Scene xo

Poll
Vote for the MQC band Logo (multi choice allowed)
Logo 1
33%
 33% [ 2 ]
Logo 2
0%
 0% [ 0 ]
Logo 3
0%
 0% [ 0 ]
Logo 4
0%
 0% [ 0 ]
Logo 5
0%
 0% [ 0 ]
Logo 6
17%
 17% [ 1 ]
Logo 7
0%
 0% [ 0 ]
Logo 8
50%
 50% [ 3 ]
Total Votes : 6
December 2016
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 
CalendarCalendar

Share | 
 

 Coding!! Love IT!!

View previous topic View next topic Go down 
Go to page : 1, 2  Next
AuthorMessage
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: Coding!! Love IT!!   Sun Jul 05, 2009 9:23 pm

To all darkness, specially to dark_master. Just want to ask how to create or show a message box using PHP code?.. having problem finding it..tnxxx


Last edited by dark_kernel on Wed Jul 15, 2009 10:38 pm; edited 1 time in total
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: wahahaha   Mon Jul 06, 2009 8:29 pm

mangutang tapos answer.. oink! hahaha... anyway.... ing PHP script yamu. this means it uses the html controls. example <input type='text' name='user'>

taz diba atin ka input type='submit'

pag pinindut de itang submit button (note: pwedi me dinan value para aliwa ya text ing keng submit button)

miras la reng data da deng keng form keng server.

para aretrieve mu la server side ing laman na, use me ing $_POST['user'];

ing user apin ing name ning textbox mu (diba input type='text' name='user')

ex. kunan me mo value ing tinype mu keng textbox----

<?PHP
$user = $_POST['user'];
echo $user;
?>


(note: ela dedeclare variable keng PHP magstart la '$' example $jonhray = 'pogi'Wink

and last u need to put these tag on the form...
<form action='<?=$_server['php_SELF']?>' method='post'>
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyahaha   Mon Jul 06, 2009 9:48 pm

I think I got it dude..
ehehe

<html>
<head></head>
<body>
<?php
if( is_numeric($_GET["txt"]) !== true )
{
?>
<script language="javascript">
alert("Please input Number!");
</script>
<?php
}
else
{
$max = $_GET["txt"];
$min1 = 0;
while($min1 < $max)
{
echo("Hello");
++$min1;
}
}
?>
<form name="form1" method="get">
<input type="Text" name="txt" />
<input type="submit" value="Enter" />
</form>
</body>
</html>


db ang kaibahan ng $_POST at $_GET is

ung $_POST ung website name lang ung pinapakita.
ung $_GET is ung website name and ung mga data na pinapasa or submitted..
correct ba me??..
Back to top Go down
Darkness
Admin


Posts : 7
Dark Points : 2726
Reputation : 0
Join date : 2009-07-02

PostSubject: oink   Thu Jul 09, 2009 12:49 pm

Good good! linwal ka script ning php para a execute na neman ing script ning javascript then lumub ya ulit keng php para tuluy ne ing if statement! hehehe atin ku din makanyan ah? anyway same lamu naman deng get at post eh at mas safe ya pa ing post kya itamu gagamitan ku. pansinan me ing url na ning browser mu pag get method ginamit mu magconcatinate yang query string
example:
(jay.html?asd=123&qwe=wjertds)


if pasword ya tinype mu keng textbox at meg get method ka lunto ya password mu url. ala naman un lang.
Back to top Go down
http://darknessforum.forumotion.net
Darkness
Admin


Posts : 7
Dark Points : 2726
Reputation : 0
Join date : 2009-07-02

PostSubject: 10 commandments   Thu Jul 09, 2009 12:49 pm

1. Read - if you don't read DON'T PROGRAM!
2. Find language that is right for you - once you learn one language, its easy to learn another.
3. When coding, spend some time thinking what the program should do.
4. Use FLOWCHART - organize code to make it efficient; helps the user understand the flow of the program.
5. Back everything up
6. Always save - A good programmer always save.
7. Comment your code - you will surely forget some sections of your code. Comments help you and other developers understand or remember what the code if for.
8. Always ask for help - people who don't ask are 10 steps behind than those who do. Ask, search and read.
9. Books - leads to no.1 befriend with books.
10. let people use your program - let others evaluate your apps.
Back to top Go down
http://darknessforum.forumotion.net
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyahahha   Fri Jul 10, 2009 5:15 pm

ou dude..ehehe... ayus ya talga ing web programming...ehehehe

.....dinan mukupa..ga1..

dinan muku pag practisan dude..ehehehe
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: its a big mistake   Sat Jul 11, 2009 11:45 am

message box pala kukutang mu ali textbox hehehe... anyway dung.... try not to use ung alert or messagebox. Mas ok if magalot kang space keng page na karin ka magmessage. example keng login usually pag mali ya ing password mu lulto ya itang error message keng babo da reng textbox dba?




<table>
<tr>
<td>
<? echo $msg ?>
</td>
</tr>
<tr>
<td>
Username
</td>
<td>
<input type='text' name='user'>
</td>
</tr>
<tr>
<td>
password
</td>
<td>
<input type='text' name='pass'>
</td>
</tr>
<tr>
<td>
<input type='submit'>
</td>
</tr>
</table>


dba mengabit katang variable a $msg keng babo dareng textbox

keng script mu kanta

if ing username at password is "false" then $msg='your username and password didn't match';
oyta edi atin neng laman a string ing $msg kaya display ne karin ing message
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: use this!   Sat Jul 11, 2009 11:51 am

http://www.mediafire.com/?sharekey=1b120181156b03170f83d91f6dff7c38e04e75f6e8ebb871

it will be your bestfriend
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyaay   Sat Jul 11, 2009 9:22 pm

awa..pla ne dude...akalingwan ku...
ejeje
para e msydu..maka hustle keng gagamit..if click nepa tang Ok db
ehehehe
Back to top Go down
†dArk_r0okiE†
Programmer


Posts : 65
Dark Points : 2788
Reputation : 1
Join date : 2009-07-14
Age : 25
Location : pampanga

PostSubject: ...pa help naman po mga dark....laalo n kay dark master...^^   Tue Jul 14, 2009 7:08 pm

..paturo naman po nang kahit na ano yungkol sa HTML at VB......

......gusto ko po sanang matutunan yung mahihirap na part......

......
sa JAVA din po....gusto ko kasi mga games..eh...lalo na yung cabal at DOTA...minsan dota tayo master kung marunung kah..??wahahhaa....pahelp po....

....sa C++ naman po gusto ko lng malaman kung panu mo mapapagalaw yung word mo sa blue screen..??

..for example::
.....Mary The Queen College of Pampanga Inc.....eto po yung WORD

...panu mo mapapagalawa yung word nang zigzag..??sana po matulungan nyo po ako.....paki sulat n lng po yung code sa forum

..salamat po mga darks...

...emanrezu26
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: oink   Tue Jul 14, 2009 7:25 pm

Satur kw bayan??
ejehehe

wooow

cpag na
..ehehe
cge try muna natin

okya w8 mo magrep c dark master mas marame alam un..

pag nakuha na.. post namen...
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: hey   Wed Jul 15, 2009 9:48 pm

dark kernel take over ka pa keng programming support magpost nakayu bayung thread kasi message box in php ya parin thread tamu hehehe... medyu maging busy ku pa hehehe sakit keng buntuk
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: hmmm   Wed Jul 15, 2009 9:56 pm

actually game programming usually directX programming is different po. first of all what is directX? lets take this simple: directX ang nagrerender ng mga 3d graphics sa mga games under windows pero my opensource counter part whicj is openGL. game programming has these modelers at scripters. modelers un ung mga itsura taz script mga galaw, at story.

may experience na ba kayo magMod sa GTA? ung mga cleo scripts ay scripts (obvious) at ung mga "dff at txd files" ang mga models. medyo wala tau masyadu support sa ganyan sa pinas hehehe. kaya gawa nalang tau system at bumili ng PS3 hehehe

idol ko directx10 and 11, grabe ang graphics super realistic (GTA 4, resident evil 5) hehehe
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyahah   Wed Jul 15, 2009 10:41 pm

Actually malwat kune daramdaman ing Direct X.. but eke aytinjan..ehehehe..

nung emu ketang field3p kupa a blu na..scripts pla gagamitan pag gagawa movement in games..edhehe


astig..
ehehehe

dark_master

mag PS3 tana..ehehe..mag work tana para apyalung tane ing GTA4..ehehehe
Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil Twisted Evil
Back to top Go down
†dArk_r0okiE†
Programmer


Posts : 65
Dark Points : 2788
Reputation : 1
Join date : 2009-07-14
Age : 25
Location : pampanga

PostSubject: ...sorry na ano ko nang topic paki bura n lng yun master..^^   Thu Jul 16, 2009 9:35 pm

.kung d nyo po mahanap yun Ok lng po kasi na koconfuse lang po ako pano po kasi nila na gawa yun eh...

...pero kahit ganyan salamat n din sa effort nyo darkness..ehehehe

.....TC po salahat
Back to top Go down
†dArk_r0okiE†
Programmer


Posts : 65
Dark Points : 2788
Reputation : 1
Join date : 2009-07-14
Age : 25
Location : pampanga

PostSubject: wahahhahaa   Thu Jul 16, 2009 9:39 pm

..ervin best actor sa play namin...wahahhaha

...loko may tinatago ka palang lihim na talent..wahahaha..^^

......dana bagay na bagay role mu karin ah..MOSES...whahahah

.........ang fufu.....dana IDOL ke talaga,,,,,,galing nang mag act character..eweh

......
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: wahahaha   Thu Jul 16, 2009 10:54 pm

vin moses naka pala ngeni hahaha!!!
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyahah   Thu Jul 16, 2009 11:04 pm

Blu munakuman jay..
ehehe
simply kumu

ehehehe
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyahah   Thu Jul 16, 2009 11:05 pm

About

coding ing thread bkt miras kang

MOSES Surprised Surprised Surprised Surprised Surprised Surprised


ehehehe
Back to top Go down
-=Dark Master=-
Advanced Programmer


Posts : 102
Dark Points : 2851
Reputation : 15
Join date : 2009-07-05
Age : 30
Location : darkest corner of san roque guagua pampanga

PostSubject: BAH   Thu Jul 16, 2009 11:09 pm

dininan neng power God i moses na mamrogram eh!!! dinivide ne ing waters!! pinrogram neh hehehe lol!
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: nyahah   Thu Jul 16, 2009 11:12 pm

kaya pla...


ehehehe
wat kaya programming language dude... Question Question Question Question Question Question

ehehehehe
Back to top Go down
†Dark Prince†
Programmer


Posts : 64
Dark Points : 2796
Reputation : 3
Join date : 2009-07-05
Age : 24

Character sheet
Dark Field: 200

PostSubject: @ =) !   Wed Jul 22, 2009 9:11 pm

i play moses on our play in theolgy!
sana magreflect ing galing ng moses keng programming kaku! cheers
Back to top Go down
dark_kernel™
Programmer


Posts : 51
Dark Points : 2771
Reputation : 0
Join date : 2009-07-04
Age : 21
Location : Pampanga

Character sheet
Dark Field: 200

PostSubject: oink   Fri Jul 24, 2009 12:12 am

Maka tadhana na maging tamu mosses talaga..

ehehehe...

Let there be light!!
cheers cheers cheers cheers cheers
Back to top Go down
†Dark Prince†
Programmer


Posts : 64
Dark Points : 2796
Reputation : 3
Join date : 2009-07-05
Age : 24

Character sheet
Dark Field: 200

PostSubject: ....   Fri Jul 24, 2009 10:06 pm

sa kasamaang palad meging kung spectator kasi liku megpractice ahhaha


bandang tawli Praise the Lord ya ing sabyan ku... eke pa asabi cheers
Back to top Go down
†Dark Prince†
Programmer


Posts : 64
Dark Points : 2796
Reputation : 3
Join date : 2009-07-05
Age : 24

Character sheet
Dark Field: 200

PostSubject: ......   Fri Jul 24, 2009 10:07 pm

aroi melihis nenaman king topic Razz
Back to top Go down
Sponsored content




PostSubject: Re: Coding!! Love IT!!   Today at 9:56 am

Back to top Go down
 
Coding!! Love IT!!
View previous topic View next topic Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» I Love Food!
» Declare your love!
» HISTORY - Phase One: I Love Money
» First Person That Comes To Your Mind When You Hear A Love SONG!
» Twin Love : the story of Elzbeth and Earina

Permissions in this forum:You cannot reply to topics in this forum
  :: Programming Support-
Jump to: