Jump to content

a sql question


corillo181

Recommended Posts

[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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.