Now I understand.
one should never use the variable id, that is reserved.
I replace by valueid then work nice.
Search found 4 matches
- Thu Apr 24, 2008 3:12 pm
- Forum: CMSMS Core
- Topic: [SOLVED] - How to send and get the parameter by URL?
- Replies: 3
- Views: 1088
- Thu Apr 24, 2008 11:45 am
- Forum: CMSMS Core
- Topic: [SOLVED] - How to send and get the parameter by URL?
- Replies: 3
- Views: 1088
Re: How get the ID come from the URL?
Please friends,
I need only know how to send and get parameter by url.
for example:
cmsmadesimple/index.php?page=product&id=$id
how to send that $id correctly by the url?
then how to get that $id correctly by the url?
if i use $_GET['id'] on the product page (defined in my tags) dont work.
I need only know how to send and get parameter by url.
for example:
cmsmadesimple/index.php?page=product&id=$id
how to send that $id correctly by the url?
then how to get that $id correctly by the url?
if i use $_GET['id'] on the product page (defined in my tags) dont work.
- Wed Apr 23, 2008 12:23 pm
- Forum: CMSMS Core
- Topic: [SOLVED] - How to send and get the parameter by URL?
- Replies: 3
- Views: 1088
Re: How get the ID come from the URL?
Anyone?
i need this a lot.
i need this a lot.
- Tue Apr 22, 2008 6:12 pm
- Forum: CMSMS Core
- Topic: [SOLVED] - How to send and get the parameter by URL?
- Replies: 3
- Views: 1088
[SOLVED] - How to send and get the parameter by URL?
Hi friends, A simple question, see: http://localhost/cmsmadesimple/index.php?page=viewproduct&id=2532 How I get the ID come from the URL? in my definition tag I put this: $sql = mysql_query("SELECT * FROM table WHERE id = '". $_GET['id'] ."'"); but dont working... any suggest...