Search found 18 matches
- Fri Dec 16, 2005 3:00 pm
- Forum: PHP - Code
- Topic: Parsing a string
- Replies: 1
- Views: 517
Parsing a string
Hey, i need help parsing a string that i am receiving from mysql. Here is the code $result = mysql_query("SELECT * FROM `content` WHERE name='current' LIMIT 1"); while($row = mysql_fetch_array($result)) { echo $row['categories']; } This is what it should echo, parsed. <div id='head'> Tutor...
- Mon Oct 17, 2005 7:40 pm
- Forum: PHP - Code
- Topic: Simple AIM profile script...
- Replies: 10
- Views: 478
urlencode() ?? Note: I don't think I have the foggiest idea what the problem is though (and where the %n is being used in PHP) in AIM profile, aim replaces any instance of %n with the viewers Screen Name. this way, if you have ?sn=%n, aim will replace it to something like ?sn=[VIEWER'S SCREENNAME H...
- Mon Oct 17, 2005 7:36 pm
- Forum: PHP - Code
- Topic: using URL for navigation
- Replies: 1
- Views: 362
using URL for navigation
hi all, i've been wondering this for a real long time now, and couldn't find any search results(i'm bad at coming up with search terms) but, how do you use the URL for sort of navigation on your site, like Wikipedia.org, or textpattern Wikipedia.org uses like site/image:image.jpg I saw this "si...
- Mon Oct 17, 2005 7:30 pm
- Forum: PHP - Code
- Topic: Simple AIM profile script...
- Replies: 10
- Views: 478
- Fri Sep 30, 2005 9:21 pm
- Forum: PHP - Code
- Topic: Moving elements of an array?
- Replies: 3
- Views: 256
- Mon Sep 26, 2005 7:22 pm
- Forum: PHP - Code
- Topic: Moving elements of an array?
- Replies: 3
- Views: 256
Moving elements of an array?
how do i move an element of an array to a different location? for example,
i have an array array(1,2,3,4,5,6)
and i want to move the 3 after the for so it ends up as array(1,2,4,3,5,6)
how is this done???
i have an array array(1,2,3,4,5,6)
and i want to move the 3 after the for so it ends up as array(1,2,4,3,5,6)
how is this done???
- Sun Sep 04, 2005 10:39 am
- Forum: PHP - Code
- Topic: Help with sorting something
- Replies: 10
- Views: 225
- Sat Sep 03, 2005 8:57 pm
- Forum: PHP - Code
- Topic: Help with sorting something
- Replies: 10
- Views: 225
- Sat Sep 03, 2005 8:34 pm
- Forum: PHP - Code
- Topic: Help with sorting something
- Replies: 10
- Views: 225
- Sat Sep 03, 2005 3:43 pm
- Forum: PHP - Code
- Topic: Help with sorting something
- Replies: 10
- Views: 225
- Sat Sep 03, 2005 3:39 pm
- Forum: PHP - Code
- Topic: Help with sorting something
- Replies: 10
- Views: 225
- Sat Sep 03, 2005 3:19 pm
- Forum: PHP - Code
- Topic: Help with sorting something
- Replies: 10
- Views: 225
Help with sorting something
hey i'm just making a comment board heres the function that displays the old entries: function showold($file,$badwordsarray,$cleanword) { switch($_GET[badlang]) { case off: $filter = 0; break; default: $filter = 1; break; } $contents_old = file_get_contents($file); if($filter) { echo "<font cla...
- Mon Aug 29, 2005 4:24 pm
- Forum: PHP - Code
- Topic: Class Schedule type script
- Replies: 1
- Views: 196
Class Schedule type script
hi emm i'm trying to make a script that shows a class schedule. I have a text file with the different periods with a seperator: |line| classes.txt: 1,spanish,sendon,24 |line|2,CADrockets,monaco,35 |line|2,GR artsweb,convery,44 |line|2,multimedia,verger,2 |line|3,LA,horn,29 |line|4,SS,degen,40 |line|...
- Sat Aug 13, 2005 7:33 pm
- Forum: PHP - Code
- Topic: how to get a picture of a website?
- Replies: 8
- Views: 545
- Sat Aug 13, 2005 5:38 pm
- Forum: PHP - Code
- Topic: how to get a picture of a website?
- Replies: 8
- Views: 545
how to get a picture of a website?
can someone please post the PHP code to getting a screen shot of a website...i've seen it on like some domain search engines and would really like to know how this is done i've searched lots of different things but didn't really find what i was looking for i wasn't to sure exactly where to post this...