tariq_ews
-
Posts
32 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by tariq_ews
-
-
hi every oneI am Muhammad Tariqi am new in php and learn many things from this forum u have a good forum any problem we can solve there
-
#cgi.script_name#if u are using dreamweaver 8.0 then when you type cgi. all script information u can get and u can chek it outwith the cfout
Get page name
in ColdFusion
Posted
this code will help u just check it out<cfparam name="URL.startrow" default="1" /><cfset nNextRows = URL.startrow + 2 /><cfset nPreviousRows = URL.startrow - 2 /><head><title>Pageable Record</title></head><table><cfoutput><tr> <cfif nNextRows LTE 10> <td><a href="#CGI.SCRIPT_NAME#?startrow=#nNextRows#">Next Record</a></td> </cfif> <cfif nPreviousRows GTE 1> <td><a href="#CGI.SCRIPT_NAME#?startrow=#nPreviousRows#">Previous Record</a></td> </cfif></tr></cfoutput><cfoutput query="pageable" startrow="#url.startrow#" maxrows="2"><tr> <td>#per_name#</td> <td>#per_phone#</td></tr></table></cfoutput><body></body></html>