denise_har_u
15 years ago
can someone help me? why my id's can't pass to the next page? &_GET isn't working either. any ideas?
latest #19
PuiShan says
15 years ago
did u set session to next page?
PuiShan says
15 years ago
yen lee said is session problem..
siewhoong
15 years ago
beh hiao
立即下載
PuiShan says
15 years ago
and she said session start must at very top..then include the connection file wo..
denise_har_u says
15 years ago
session...erm.thanks. trying now
chunyee says
15 years ago
u pass by clicking a link or button?
denise_har_u says
15 years ago
clicking a link.
chunyee says
15 years ago
like this?-> a href="index.php?id=$id"
chunyee says
15 years ago
means u pass ur $id to index.php page and assign it to id
denise_har_u says
15 years ago
oso not working :-(
denise_har_u says
15 years ago
the resulting url is always "index.php?id='' "
chunyee says
15 years ago
should put echo inside lk tis: a href="index.php?id=<? echo "$id"; ?>"
chunyee says
15 years ago
i thk u hvt obtained the id value b4 pass it to another page
denise_har_u says
15 years ago
i think so too, but the above method u all mention i've tried numerous time. still not working. not very clear bout session tho.
denise_har_u says
15 years ago
tried the isset thingy similar to pagination but oso cannot. T.T
PuiShan says
15 years ago
put a breakpoint at the id..then execute..see then mouse over the id part..see got value?if dun hv mean u hvnt obtained the id b4 passing d
denise_har_u says
15 years ago
hm..weird. can pass the name but can't pass the id. however still no result. thanks for your help ya. =)
杰莹 says
15 years ago
maybe not yet declare $id?
PuiShan says
15 years ago
problem solved thread closed (rofl)
back to top