Search found 23 matches

by ShadowSkill
Sat Mar 02, 2013 8:44 am
Forum: mySQL & php coding
Topic: How to combine multiple Updates
Replies: 1
Views: 840

How to combine multiple Updates

$rem1 = "UPDATE `subjecttaken` SET `Remarks`= 'FAILED' WHERE `Grade` < '75' and `SNum`='$SNum' "; mysql_query($rem1); $rem2 = "UPDATE `subjecttaken` SET `Remarks`= 'PASSED' WHERE `Grade` > '75' and `SNum`='$SNum' "; mysql_query($rem2); $rem3 = "UPDATE `subjecttaken` SET `Remarks`= 'No Grade' WHERE ...
by ShadowSkill
Sat Mar 02, 2013 4:00 am
Forum: mySQL & php coding
Topic: SQL Problem
Replies: 3
Views: 1023

Re: SQL Problem

UPDATE `column_table` SET `Evaluation`= 'Cannot be taken' WHERE `SubjectPrerequisite ` = 'Failed' OR Remarks= 'No Grade' This cannot be sir since it will update everything if the remarks = no grade but what if that has no prerequisite. The problem is i dont quite get how the Evaluation would become...
by ShadowSkill
Fri Mar 01, 2013 9:15 am
Forum: mySQL & php coding
Topic: SQL Problem
Replies: 3
Views: 1023

SQL Problem

Hello good day, this is what my Database looks like and my problem is i cannot figure out what SQL Query i should use. I have already solve the part where my evaluation would become "Done" and "Must Be Taken" and here are my Queries UPDATE `column_table` SET `Evaluation`= 'Done' WHERE  `Remarks` = '...
by ShadowSkill
Mon Feb 20, 2012 5:03 am
Forum: mySQL & php coding
Topic: Notice: Undefined index: and Notice: Undefined variable:
Replies: 1
Views: 504

Notice: Undefined index: and Notice: Undefined variable:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php re...
by ShadowSkill
Thu Feb 16, 2012 6:14 am
Forum: mySQL & php coding
Topic: PHP using VB database possible?
Replies: 2
Views: 715

PHP using VB database possible?

Here's the deal, our school has an enrollment system made in Visual Basic 6.0. I'm gonna create an evaluation of students in their subject. Is there a possibility for me to use PHP language and connect it to the enrollment systems database??? Most probably the enrollment systems database is in Micro...
by ShadowSkill
Thu Feb 16, 2012 6:13 am
Forum: phpMyAdmin
Topic: PHP using VB database possible?
Replies: 1
Views: 1998

PHP using VB database possible?

Here's the deal, our school has an enrollment system made in Visual Basic 6.0. I'm gonna create an evaluation of students in their subject. Is there a possibility for me to use PHP language and connect it to the enrollment systems database??? Most probably the enrollment systems database is in Micro...
by ShadowSkill
Sat Feb 11, 2012 6:21 am
Forum: PHP General
Topic: Difference between VB and PHP
Replies: 2
Views: 989

Difference between VB and PHP

Can i ask the difference between VB and PHP??? Visual Basic 6.0 or 8.0 and PHP They say you need to buy VB to sell systems you created while PHP is a free software? I need to know this because i used PHP language instead of the regular VB which the school is using in creating a local system. I just ...
by ShadowSkill
Fri Feb 03, 2012 10:18 pm
Forum: mySQL & php coding
Topic: Problem with saving the subjects
Replies: 1
Views: 500

Problem with saving the subjects

Example code: <input type="checkbox" name="subject[]" value="ENG" />English <input type="checkbox" name="subject[]" value="MATH" />Mathematics <input type="checkbox" name="subject[]" value="SCI" />Science <input type="checkbox" name="subject[]" value="FIL" />Filipino <?php //and the post data would ...
by ShadowSkill
Sun Jan 22, 2012 7:54 pm
Forum: mySQL & php coding
Topic: Checked checkbox save to Database
Replies: 1
Views: 443

Checked checkbox save to Database

I want to put all the checked items into my database subjects
I'm confused more now how to store the checked value to the database @_@
Just give me a small sample code how to save the checked item to the database please (if possible detailed coz im newbie)
Thank you very much
by ShadowSkill
Sun Jan 22, 2012 7:47 pm
Forum: mySQL & php coding
Topic: Checkbox save into phpmyadmin and then retrieve
Replies: 4
Views: 1493

Re: Checkbox save into phpmyadmin and then retrieve

I want to put all the checked items into my database subjects :(
I'm confused more now how to store the checked value to the database @_@
by ShadowSkill
Sat Jan 21, 2012 10:06 pm
Forum: mySQL & php coding
Topic: Checkbox save into phpmyadmin and then retrieve
Replies: 4
Views: 1493

Checkbox save into phpmyadmin and then retrieve

I'm confused, i have been trying all sorts of stuffs to my codes... <form method="post"> <input type="checkbox" name="1BC1" value="DPEM 101 Philosophy of Man" />DPEM 101 Philosophy of Man 3 units <input type="checkbox" name="1BC2" value="DPEM 101 Philosophy of Nature" />DPEM 101 Philosophy of Nature...
by ShadowSkill
Sat Jan 21, 2012 5:32 pm
Forum: mySQL & php coding
Topic: Alert box on PHP if name==NULL
Replies: 1
Views: 473

Alert box on PHP if name==NULL

If the user inputs a blank/null value at $name
then id like to make a alert box that says please enter the missing values

ex:

if ($name==' ' or $address==' ' or $age==' ')
{
// Alert Box saying "Please enter the missing values"
}

Thank you to those who will help...
Love this helpful forum <3
by ShadowSkill
Sat Jan 21, 2012 9:48 am
Forum: mySQL & php coding
Topic: Parse error: syntax error, unexpected T_VARIABLE in C:\webde
Replies: 2
Views: 592

Re: Parse error: syntax error, unexpected T_VARIABLE in C:\w

Thank you very much :D Sorry about this i have a fever and a headache and tried to solved this for more than 30mins
by ShadowSkill
Sat Jan 21, 2012 8:23 am
Forum: mySQL & php coding
Topic: Parse error: syntax error, unexpected T_VARIABLE in C:\webde
Replies: 2
Views: 592

Parse error: syntax error, unexpected T_VARIABLE in C:\webde

<html> <head> <title> Enrollment form </title> <body> </head> <form method="get" action="course.php" > <table bgcolor="#00CCFF" align="center" border="0" cellpadding="5" cellspacing="0"> <tr><td colspan="6"> <center><hr><h2> Add student </h2></hr> Please fill up all information required.</center> <...
by ShadowSkill
Fri Jan 20, 2012 3:47 pm
Forum: PHP coding => General
Topic: Tutor for simple PHP
Replies: 1
Views: 592

Tutor for simple PHP

Can someone tutor me online for some simple PHP codings today?
Theyre just simple edit update of the connections and sorts :( please
Either YM or FB chat?
by ShadowSkill
Fri Jan 13, 2012 4:10 am
Forum: PHP coding => General
Topic: Notice: Undefined index: HELP
Replies: 1
Views: 591

Notice: Undefined index: HELP

Notice: Undefined index: stdname in C:\webdev\xampp\htdocs\enrollment\adding.php on line 89 Notice: Undefined index: stdaddress in C:\webdev\xampp\htdocs\enrollment\adding.php on line 90 Notice: Undefined index: stdcp in C:\webdev\xampp\htdocs\enrollment\adding.php on line 91 Notice: Undefined index...
by ShadowSkill
Tue Jan 10, 2012 7:01 am
Forum: PHP coding => General
Topic: Simple Enrollment for College Help
Replies: 4
Views: 970

Re: Simple Enrollment for College Help

Sir thank you very much your codes i understood it all even if i haven't tried the code yet. It fits perfectly to what i desire. Do you know how to add and connect option to the Registration of my reg.php? Id like to put BSIT, BSHRM, BSN on an option for the user to choose which course he desires op...
by ShadowSkill
Mon Jan 09, 2012 5:31 am
Forum: mySQL & php coding
Topic: Simple Enrollment for College Help
Replies: 1
Views: 478

Re: Simple Enrollment for College Help

This is my Search PHP code please help me with the search code because i need to edit the searched first name. The search function works but i need to put an Edit button to the results and then be able to edit the searched information. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...
by ShadowSkill
Mon Jan 09, 2012 5:29 am
Forum: PHP coding => General
Topic: Simple Enrollment for College Help
Replies: 4
Views: 970

Re: Simple Enrollment for College Help

This is my Search PHP code please help me with the search code because i need to edit the searched first name. The search function works but i need to put an Edit button to the results and then be able to edit the searched information. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...
by ShadowSkill
Mon Jan 09, 2012 5:29 am
Forum: PHP coding => General
Topic: Simple Enrollment for College Help
Replies: 4
Views: 970

Simple Enrollment for College Help

I made a simple Add and Search for my Enrollment I named my database Eva with table info containing first, last, age, cp, email and course This are my codings please help me Improve it i'm just a newbie at PHP and my cousin who is teaching me PHP just left for singapore. <html> <head> <title>Main</t...
by ShadowSkill
Mon Jan 09, 2012 5:29 am
Forum: mySQL & php coding
Topic: Simple Enrollment for College Help
Replies: 1
Views: 478

Simple Enrollment for College Help

I made a simple Add and Search for my Enrollment I named my database Eva with table info containing first, last, age, cp, email and course This are my codings please help me Improve it i'm just a newbie at PHP and my cousin who is teaching me PHP just left for singapore. <html> <head> <title>Main</t...
by ShadowSkill
Thu Jan 05, 2012 9:54 pm
Forum: mySQL & php coding
Topic: Search with Output Edit please help! :(
Replies: 0
Views: 398

Search with Output Edit please help! :(

Ok so i have a add field already and it saves the inputted to my SQL... If i add records it will be saved... Name : Mike Perez Age : 19 Sex : Male Record Saved! --------------------------------------------------------------------------------------- How can i show the output of the searched Name by u...
by ShadowSkill
Sun Jan 01, 2012 4:40 am
Forum: PHP coding => General
Topic: PHP BINGO Need Help
Replies: 1
Views: 605

PHP BINGO Need Help

My cousin wants me to make a PHP Bingo but my problem is i don't know what method or operator to use on the rand(1,15) to check if the number has already been randomized. The first line on BINGO is good randomized numbers according to B I N G O but my problem is the second line can repeat itself so ...