FAQ
•
Search
•
User Groups
•
Forum Admins
•
Smilies List
•
Statistics
•
Rules
•
Login
•
Register
H
ome
FAQs
L
inks
N
ews
Online Tools
phpBB
Scripts
T
utorials
A
bout us
C
ontact us
Contribute
Credits
Link to us
How to split
Forum Index
»
Server-Side Coding
Author
Message
tyjtyj
Junior WebHelper
Joined: 22 Feb 2002
Posts: 20
Posted: Fri Jan 24, 2003 3:05 am (22 years, 3 months ago)
How to split this statement in php ?
search=abc
I want to split search and abc
thank you
________________________________
Justin Store
http://www.tyjtyj.com
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
Posted: Fri Jan 24, 2003 7:06 am (22 years, 3 months ago)
Code:
$new_variable=explode('=', $old_variable);
$new_variable will contain an array with "search" and "abc" in it, and $old_variable will contain "search=abc".
I take it this isn't a query string, like
http://www.site.com/script.php?search=abc
? Because if it is, $HTTP_GET_VARS['search'] would contain the text "abc".
________________________________
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Forum Index
»
Server-Side Coding
Jump to:
Select a Forum
» 4WebHelp
Announcements
Our Site: Feedback & Questions
» General
Chit Chat
Freedom2Surf
Advertisements
» Support
General
Website Reviews
Client-Side Coding
Server-Side Coding
Databases
Web Servers
Hosting & Domain Names
Graphics & Flash
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
edit your posts in this forum.
You
cannot
delete your posts in this forum.
You
cannot
vote in polls in this forum.
Page generation time: 0.122646 seconds :: 17 queries executed :: All Times are GMT
Powered by
phpBB
2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme