Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
php problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FearlessGoD" data-source="post: 389461" data-attributes="member: 71823"><p>make a script that does the following:</p><p>$ChkUrl[1] = '/'.$_SESSION['username'].'/shop?Coin';</p><p>$ChkUrl[2] = '/'.$_SESSION['username'].'/shop?Diamonds';</p><p>$ChkUrl[3] = '/'.$_SESSION['username'].'/shop?VIP';</p><p></p><p>The Coin, Diamonds, and VIP is stored in the database table.</p><p></p><p>I want the script to do is each ID is on the table so its 3 will execute it and make it work on if($ChkUrl[1] == $_SERVER['REQUEST_URI'] OR $ChkUrl[2] == $_SERVER['REQUEST_URI'] OR $ChkUrl[3] == $_SERVER['REQUEST_URI']);</p><p> {</p><p> // template</p><p> }</p><p>and everything is temporary I am used to using mysql ill update it to mysqli soon.</p></blockquote><p></p>
[QUOTE="FearlessGoD, post: 389461, member: 71823"] make a script that does the following: $ChkUrl[1] = '/'.$_SESSION['username'].'/shop?Coin'; $ChkUrl[2] = '/'.$_SESSION['username'].'/shop?Diamonds'; $ChkUrl[3] = '/'.$_SESSION['username'].'/shop?VIP'; The Coin, Diamonds, and VIP is stored in the database table. I want the script to do is each ID is on the table so its 3 will execute it and make it work on if($ChkUrl[1] == $_SERVER['REQUEST_URI'] OR $ChkUrl[2] == $_SERVER['REQUEST_URI'] OR $ChkUrl[3] == $_SERVER['REQUEST_URI']); { // template } and everything is temporary I am used to using mysql ill update it to mysqli soon. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
php problem
Top