Jump to content

If Else Statement!


garevn

Recommended Posts

my data page look like this atm and its fine.Now i need a way to saying:

//if values t+c+r selected run this querysql_cmd.CommandText = "SELECT dbo.rooms.id, type, image, price, details FROM dbo.rooms,dbo.transactions WHERE dbo.rooms.id=dbo.transactions.roomid and type='" & request.querystring("t") & "' and '" & request.querystring("c") & "' not between checkin and checkout and '" & request.querystring("r") & "' not between checkin and checkout and status='active' "//else display message: complete all information

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...