Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
course_man.php April 22, 2013 04:01PM |
Registered: 11 years ago Posts: 70 Rating: 0 |
link as opposed to a form e.g.Language: HTML<A href…..>Delete</a>
. Then you have the cid available to run the delete query. The use of preg functions is a bit overboard here.Language: HTML<A href=delete.php?cid=$cid&Delete=yes>Delete</a>
Re: course_man.php May 09, 2013 07:48AM |
Registered: 11 years ago Posts: 70 Rating: 0 |
Language: PHP<a href=';delete.php?sno=db_field[';sno';]';>Delete</a>
Re: course_man.php May 09, 2013 05:43PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Language: PHP//<A href=delete.php?cid=$cid&Delete=yes>Delete</a> //on delete page you simply have $Delete=$_GET[';Delete';]; $cid=$_GET[';cid';]; if($Delete==';yes';) { //query e.g. DELETE FROM... WHERE cid=';$cid';
Re: course_man.php May 09, 2013 07:38PM |
Registered: 11 years ago Posts: 70 Rating: 0 |
Re: course_man.php May 09, 2013 08:15PM |
Registered: 11 years ago Posts: 70 Rating: 0 |
Re: course_man.php May 09, 2013 09:04PM |
Registered: 11 years ago Posts: 70 Rating: 0 |
Re: course_man.php May 10, 2013 11:06PM |
Registered: 11 years ago Posts: 70 Rating: 0 |
Re: course_man.php May 11, 2013 12:38AM |
Registered: 11 years ago Posts: 70 Rating: 0 |
Re: course_man.php May 14, 2013 02:30PM |
Registered: 11 years ago Posts: 51 Rating: 0 |
Re: course_man.php May 14, 2013 03:07PM |
Registered: 11 years ago Posts: 167 Rating: 0 |
Re: course_man.php May 14, 2013 10:30PM |
Registered: 11 years ago Posts: 68 Rating: 0 |
Re: course_man.php May 15, 2013 08:21AM |
Registered: 11 years ago Posts: 163 Rating: 0 |