Headhunter
|
| Posted: 05/14/2003, 2:54 PM |
|
Has anyone successfully converted the code from CC to CCS from this article:
http://gotocode.com/art.asp?art_id=146&
|
|
|
 |
Headhunter
|
| Posted: 05/15/2003, 11:49 PM |
|
No one?
|
|
|
 |
rrodgers
|
| Posted: 05/16/2003, 4:21 PM |
|
No I haven't tried it. But it doesn't look too complicated. What errors are you getting? Or where is it failing.
rob
|
|
|
 |
rrodgers
|
| Posted: 05/16/2003, 6:24 PM |
|
Ok. I just did it.
http://www.sylvancomputing.com/ccs/subwindow/
|
|
|
 |
Headhunter
|
| Posted: 05/17/2003, 2:20 PM |
|
rrodgers,
I forgot to tell that I use php and not asp.
Looked into your example but I do not understand asp and javascript well enough to convert it.
Thanks in advance.
|
|
|
 |
rrodgers
|
| Posted: 05/17/2003, 3:36 PM |
|
Hi,
Well you don't have to convert the Javascript as it is client side code. You only have convert the asp code. I am not positive as I do very very little php but I think this will accomplish the same thing. Maybe someone who knows both will jump in here?
rob
$DBConnection1->query("SELECT @@IDENTITY As intIdent");
$Result = DBConnection1->next_record();
if($Result)
{
NewIdent = $DBConnection1->f("intIdent"));
NewCat = CCDLookUp("category_name", "store_categories", "category_id=" & NewIdent, $DBConnection1);
}
Redirect = "NewCategory.asp?last_pk=" & NewIdent & "&last_value=" & NewCat;
|
|
|
 |
rrodgers
|
| Posted: 05/23/2003, 9:47 AM |
|
http://www.sylvancomputing.com/ccs/subwindow_php/default.php
|
|
|
 |
Phil
|
| Posted: 05/23/2003, 3:35 PM |
|
And who has this in PHP for CC not for CCS?
|
|
|
 |