what will be result of the following ?

"$qry_expirydt="SELECT ('".$stdate."' +INTERVAL ".$day." Month) as expirydt";"

especially explain about (+INTERVAL) and (Month) used in the query ???

Recommended Answers

All 2 Replies

Sounds a lot like a homework question. If so, then you need to do your own homework.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.