corillo181 Posted May 22, 2006 Share Posted May 22, 2006 [code]$qury=select some thing from something where name ='john';arra=fetch_array($qury);echo arra['name'];[/code]so if i got this code and then down on my page i just do this[code]$qury=select some thing from something where name ='juan';arra=fetch_array($qury);echo arra['name'];[/code]will that mess with my cod in any way? becuase it does print the other name but since the variable and the query is the same would that bring any problem? Link to comment https://forums.phpfreaks.com/topic/10174-a-sql-question/ Share on other sites More sharing options...
samshel Posted May 22, 2006 Share Posted May 22, 2006 Hello,No it wont create any problem....but i wont recomment using the same variable names as it would be very difficult to debug.hth Link to comment https://forums.phpfreaks.com/topic/10174-a-sql-question/#findComment-37926 Share on other sites More sharing options...
corillo181 Posted May 22, 2006 Author Share Posted May 22, 2006 thanx and debuging is not a problem i use zend so i get very specific detail of where my problem is.. Link to comment https://forums.phpfreaks.com/topic/10174-a-sql-question/#findComment-37930 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.