Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 02-27-2007, 10:05 PM   #1 (permalink)
 
True Techie

Join Date: Jan 2006

Posts: 123

regiemon

Default conversion code

"if (!rs.EOF) then"

this is in visual basic but how do you do this in php?
regiemon is offline  
Old 02-27-2007, 11:04 PM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

assuming you're using mysql, use mysql_fetch_row($rs)

http://www.php.net/manual/en/functio...-fetch-row.php

Quote:
Returns an numerical array that corresponds to the fetched row, or FALSE if there are no more rows.

office politics is offline  
Old 02-28-2007, 12:58 AM   #3 (permalink)
 
True Techie

Join Date: Jan 2006

Posts: 123

regiemon

Default

ok thanks.
__________________
nomeiger.com, imactech.com, phpsifu.com
regiemon is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On