Log In
Sign Up
Why Join Hot Scripts?
Hot Scripts
All Categories
PHP
Python
Tools & Utilities
XML
Ruby on Rails
Ajax
Web Hosting
ASP
ASP.NET
C & C++
CFML
Flash
Java
JavaScript
CGI & Perl
HTML5
Forums
Blog
Scripts
Hosted Apps
Plugins
Design Templates
Forum
Blog
Advertise
Contact Us
Register
FAQ
Rules
Calendar
Search
Today's Posts
Mark Forums Read
RSS Feeds
Current location:
Hot Scripts Forums
»
Programming Languages
»
PHP
» How do I write Querying?
How do I write Querying?
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
10-29-08, 02:36 AM
hakeem
Newbie Coder
Join Date: Sep 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
How do I write Querying?
i have the following users on a table
yahoo
google
hotmail
gmail
mail
web
I want to
select the first 2 record(yahoo, google)
, and next
2(hotmail, gmail)
,
and
last 2 (mail, web)
please how do i write the query.
hakeem
View Public Profile
Find all posts by hakeem
#
2
(
permalink
)
10-29-08, 03:29 AM
smithygotlost
Aspiring Coder
Join Date: Jul 2006
Location: United Kingdom
Posts: 412
Thanks: 12
Thanked 3 Times in 3 Posts
well thats just lazy lol
here is a tutorial post some code that you think will work then we can help mod it
tutorial here
smithygotlost
View Public Profile
Visit smithygotlost's homepage!
Find all posts by smithygotlost
#
3
(
permalink
)
10-29-08, 08:04 AM
phpdeveloper2004
Wannabe Coder
Join Date: Aug 2004
Posts: 181
Thanks: 0
Thanked 0 Times in 0 Posts
select * from users limit 0, 2
select * from users limit 2, 2
select * from users limit 4, 2
__________________
A magazine on programming, web development, technologies and blogging -
www.techcubetalk.com
phpdeveloper2004
View Public Profile
Find all posts by phpdeveloper2004
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
google checkout
|
Trying to read and write from a table
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Off
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General Community
Announcements
Polls
The Lounge
New Members & Introductions
Script Requests
HotScripts.com Discussion
Hot Scripts Forum Questions, Suggestions and Feedback
General HotScripts Site Discussion
HotScripts Site Bug Reports
General Web Coding
HTML/XHTML/XML
HTML5
JavaScript
CSS
Flash & ActionScript
Programming Languages
PHP
Perl
ASP
ASP.NET
C/C++
Visual Basic
Windows .NET Programming
Everything Java
Other Languages
Other Discussions
Web Servers
Database
Other Topics
Web Design
API
Frameworks
AJAX
Security
Server Administration
Portable Device Programming
Cloud Computing
Ruby on Rails
CFML
Python
Tools and Utilities
Remotely Hosted
Web Hosting
Advertising Forums
General Advertisements
Job Offers & Assistance
Traffic Exchange
Website Reviews
Web Hosting Talk
DBForums.com
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
PHP write to text file
veeco
Script Requests
2
02-10-10
03:48 PM
write to text file
winracer
PHP
35
07-17-08
01:23 PM
Large data querying
adubb
PHP
1
11-20-06
05:34 PM
for loop to retrieve info and write approbiate line of code?
benq
PHP
0
05-07-06
05:45 AM
How do I write an array to a file?
bark
PHP
2
03-30-04
01:28 PM
All times are GMT -5. The time now is
12:48 PM
.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Share on Facebook
Share on Stumble Upon
Share on Twitter