TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 27
Search took 0.00 seconds.
Search: Posts Made By: crazyryan
Forum: General 08-24-2008, 06:11 PM
Replies: 5
Views: 894
Posted By crazyryan
Still cant figure it out so I'll give $20...

Still cant figure it out so I'll give $20 tomorrow to the first person who posts the code.
Forum: General 08-24-2008, 04:40 PM
Replies: 5
Views: 894
Posted By crazyryan
Thanks for the reply Cory, someone did suggest...

Thanks for the reply Cory, someone did suggest using a tree or something but I have no idea what query to use and how I would go about doing the array and such. :(
Forum: General 08-24-2008, 11:34 AM
Replies: 5
Views: 894
Posted By crazyryan
Categories & Subcategories

Hey

I'm having some problems with categories and subcategories.

Basically I want to assign pages to either a category or subcategory.

For example:

Main Category
- Sub Category 1
Forum: Advanced PHP Programming 05-11-2008, 12:35 PM
Replies: 0
Views: 867
Posted By crazyryan
Hiring OO PHP Programmer

Hey

I'm after an OO PHP programmer.

Please contact me via PM or MSN (bug at live dawt co dawt uk).

You must be able to devote a bit of time to the project, it's fairly simple I just want someone...
Forum: General 04-23-2008, 07:53 PM
Replies: 6
Views: 821
Posted By crazyryan
Need to hire a PHP coder

Hey
I'm looking for a good PHP programmer to develop me an imagehosting website. I'm basically looking for the functionality imageshack has, minus their gallery and stuff, I just need the upload bit....
Forum: General 04-21-2008, 01:34 PM
Replies: 10
Views: 1,478
Posted By crazyryan
I'm lazy :-P <td class="code"...

I'm lazy :-P

<td class="code" id="code.+?">
to
<td class="code.+?" id="code.+?">

did the job, thanks :D
Forum: General 04-21-2008, 01:16 PM
Replies: 10
Views: 1,478
Posted By crazyryan
Hey, me again - for some reason the script...

Hey, me again - for some reason the script stopped functioning, I'm guessing it's the regex and tried fixing it but I couldn't get it working again, any chance someone could look into it? Thanks
Forum: General 04-05-2008, 11:11 PM
Replies: 3
Views: 1,022
Posted By crazyryan
Anyone have any ideas? I want to put the...

Anyone have any ideas? I want to put the percentages for the last 30 days into the graph, but I dunno how to select the percentage for each day for the last 30 days, my structure is like...
Forum: General 04-05-2008, 07:43 PM
Replies: 5
Views: 725
Posted By crazyryan
Do you have session_start() at the top of your...

Do you have session_start() at the top of your page before anything else?
Forum: General 04-05-2008, 01:01 PM
Replies: 3
Views: 1,022
Posted By crazyryan
Ok cool. I downloaded sparkline and looked at...

Ok cool. I downloaded sparkline and looked at some of the examples and samples/deficit.php seems to be what retailmenot are using, or atleast thats what the procuded graph looks like.

In deficit.php...
Forum: General 04-05-2008, 12:08 PM
Replies: 3
Views: 1,022
Posted By crazyryan
PHP GD Graphs

Hey

I'm calculating the success of whether coupons work or not and would also like to show what times the coupon worked.

Like on Amazon.com Coupon Codes - all coupons, discounts and promo codes for...
Forum: General 04-05-2008, 11:55 AM
Replies: 10
Views: 1,478
Posted By crazyryan
Thanks, appreciated :)

Thanks, appreciated :)
Forum: General 04-04-2008, 11:11 PM
Replies: 10
Views: 1,478
Posted By crazyryan
I think that may be why, I just used...

I think that may be why, I just used this:
preg_match_all('/<td class="code" id="(.*?)"><strong>(.*?)<\/strong>/', $page, $output);

Instead of the whole area I need and brought back the coupons but...
Forum: General 04-04-2008, 10:52 PM
Replies: 10
Views: 1,478
Posted By crazyryan
Just tried that but still didn't work, exactly...

Just tried that but still didn't work, exactly the same as before, I get this:

Array ( [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) [3] => Array ( ) [4] => Array ( ) [5] => Array ( ) [6] =>...
Forum: General 04-04-2008, 10:46 PM
Replies: 10
Views: 1,478
Posted By crazyryan
preg_match_all

Hey, I'm trying to get data from retailmenot.com

This is what I have:

<?php
if(isset($_GET['domain'])) {
$page = file_get_contents("http://www.retailmenot.com/view/" . $_GET['domain'] ....
Forum: Javascript, AJAX, E4X 03-05-2008, 03:11 PM
Replies: 6
Views: 1,323
Posted By crazyryan
Okay, I'm really confused lol ... I have no idea...

Okay, I'm really confused lol ... I have no idea what to do with this, SOCK - any chance you can explain it a bit :D
Forum: Javascript, AJAX, E4X 03-04-2008, 10:36 PM
Replies: 6
Views: 1,323
Posted By crazyryan
Oops, forgot to mention, I'd like to use jquery...

Oops, forgot to mention, I'd like to use jquery if possible because I'm using it for some effects on my site (I didn't code them, someone else helped me)

I have no experience with javascript or...
Forum: Javascript, AJAX, E4X 03-04-2008, 08:42 PM
Replies: 6
Views: 1,323
Posted By crazyryan
Ajax Request Help

Hey

Could anyone guide me in the right direction on this:

I want something like: Amazon.com Coupon Codes - all coupons, discounts and promotion codes for amazon.com...
Forum: Absolute Beginners 12-15-2007, 11:52 AM
Replies: 4
Views: 684
Posted By crazyryan
JOINs?

I don't have a problem just for future reference.

I see alot about left joins and stuff, and I think it's used for what I'm about to explain.

Say I have something like this for games:

id - title -...
Forum: Absolute Beginners 12-09-2007, 02:47 PM
Replies: 10
Views: 1,056
Posted By crazyryan
Bump, any solution to my post above?

Bump, any solution to my post above?
Forum: Absolute Beginners 12-08-2007, 11:18 AM
Replies: 10
Views: 1,056
Posted By crazyryan
Okay, turns out I had an error in my query. Your...

Okay, turns out I had an error in my query.

Your thing works Haris almost, it shows one extra next when it's not needed.
Forum: Absolute Beginners 12-08-2007, 11:00 AM
Replies: 10
Views: 1,056
Posted By crazyryan
Thanks, that helps a bit, I've set my limit to 1...

Thanks, that helps a bit, I've set my limit to 1 for testing and I have 5 rows, and it only goes up to page 3 and then says previous again.
Forum: Absolute Beginners 12-08-2007, 10:41 AM
Replies: 10
Views: 1,056
Posted By crazyryan
I'm not sure, but even still .. it doesnt show...

I'm not sure, but even still .. it doesnt show next/previous on 1 page.
Forum: Absolute Beginners 12-08-2007, 10:22 AM
Replies: 10
Views: 1,056
Posted By crazyryan
Mod_rewrite & Pagination

Right, this is where I'm at ..

$total = mysql_query("select count(*) from games where id ='$id'");
$tot = mysql_result($total, 0);

if (is_numeric($_GET['page'])){
$page =...
Forum: Absolute Beginners 12-07-2007, 10:02 PM
Replies: 19
Views: 1,562
Posted By crazyryan
Thanks for the advice, I have one more...

Thanks for the advice, I have one more problem.

My site uses mod_rewrite on the category pages and I want to apply pagination, will that be a problem? My .htaccess code is RewriteRule...
Showing results 1 to 25 of 27

 

All times are GMT. The time now is 11:07 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design