Search found 52 matches
- Thu Sep 08, 2011 5:21 pm
- Forum: SQL
- Topic: Difficult one
- Replies: 3
- Views: 1658
Re: Difficult one
How is the table layed out? if all materials needed are in a single field then use like and the wildcard SELECT * FROM recepies WHERE materials LIKE "%cobblestone%" if each material has its own field then you could do something like SELECT * FROM recepies WHERE material_1 = "cobblesto...
- Wed Sep 07, 2011 1:52 am
- Forum: Tutorials
- Topic: jQuery, php, mysql and XML project underway!
- Replies: 1
- Views: 2972
Re: jQuery, php, mysql and XML project underway!
28 videos have now been produced. The lastest videos include building a map maker, and outputting the map onto screen. The later videos cover moving your character about the map, linking maps together and moving between them. Vidoes can be seen on my youtube channel or at the project site www.psi.ta...
- Sat Sep 03, 2011 1:03 pm
- Forum: General Chat
- Topic: Do You Listen to Music When Coding ?
- Replies: 9
- Views: 2186
Re: Do You Listen to Music When Coding ?
I will usually listen to anything on my phone lol. Nightwish, within temptation, murderdolls, rise against, dragon force the list goes on. Although alot of the time it is the 1st 2 bands. I find listening to music helps me focus and it stops my mind from thinking about other things other than the ta...
- Sat Sep 03, 2011 12:57 pm
- Forum: Code
- Topic: Youtube API videos
- Replies: 1
- Views: 3442
Youtube API videos
Not a question, just an addon to it really. Thanks to Jacek's tutorials he made on the API, I was able to create what I needed. These 2 functions loads the video list within a playlist and a couple of details from a single video. function load_playlist($playlist_id) { if((time() - filemtime("pl...
- Sun Aug 21, 2011 4:19 pm
- Forum: Tutorials
- Topic: jQuery, php, mysql and XML project underway!
- Replies: 1
- Views: 2972
jQuery, php, mysql and XML project underway!
New tutorial series is underway (mainly in an attempt to create a half decent following lol, but also wanted a reall challenge) Anyway. Project Station Invasion... This project is a new tutorialised series. The plan behind this new project is to make a M.U.D style game and to make it flow as freely ...
- Sat Jul 30, 2011 5:30 pm
- Forum: CSS / Styling
- Topic: Can I do this in CSS?
- Replies: 8
- Views: 4309
Re: Can I do this in CSS?
ok providing i understand correctly what your after this is what you need.. tr:hover { background-color:#f00; } td.last a { background-color:#000; color:#fff; padding:5px 13px; } td.last a:hover { background-color:red; } Notice there is no space between td and .last having no space between the tag a...
- Sat Jul 30, 2011 11:07 am
- Forum: Tutorials
- Topic: API Tutorial... Im Stuck
- Replies: 11
- Views: 2384
Re: API Tutorial... Im Stuck
Just a word of warning on this if i may... I have been planning out a similar thing for my website. I would run everything through a javascript file which posts the information directly to your website. giving the end user the option to post these details to their own site before getting it validate...
- Sun Jul 17, 2011 12:58 am
- Forum: Tutorials
- Topic: PBBG Tutorial series
- Replies: 3
- Views: 3741
Re: PBBG Tutorial series
Part 3 added to first post 
We look at basic fighting during this part

We look at basic fighting during this part
Re: rss feed
after looking into it, there is no mention of one no lol. plenty of people asking for one to be implemented a few yrs back. But i cant see any evidence of one said to have been put in lol.
oh well nothing wrong with the code then *phew*
Cheers Jacek
oh well nothing wrong with the code then *phew*
Cheers Jacek

- Thu Jul 14, 2011 9:47 pm
- Forum: Tutorials
- Topic: PBBG Tutorial series
- Replies: 3
- Views: 3741
PBBG Tutorial series
Hey guys. I am currently building an opensource basic PBBG for my website, and i have been recording the development of it. It will only be a very basic game and the code is only on a basic level. One thing to note. The game I am building works off of my website so the first part is instructing you ...
Re: rss feed
nope still same prob 

rss feed
I have followed your steps for the rss feed, and it seems to be working fine in IE, FF and safari, but in Chrome its only showing raw xml. You can see it here www.tapt-in.net/blog/rss.php Here is the code <?php include("../config_file.php"); header('Content-Type: application/rss+xml'); $po...
- Sun Jul 03, 2011 11:49 am
- Forum: Suggestions
- Topic: Email form with file attachment
- Replies: 7
- Views: 2618
Re: Email form with file attachment
I personally haven't done any sending emails with attachments. But a quick google search produced this http://www.texelate.co.uk/blog/send-email-attachment-with-php/ and http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php both give the code to do it and seeing what is happening is p...
- Thu Jun 30, 2011 10:03 pm
- Forum: CSS / Styling
- Topic: image has border
- Replies: 20
- Views: 8923
Re: image has border
Nope that didnt work either.
Applying what i have put should also fix the FF issue aswell
Applying what i have put should also fix the FF issue aswell

- Thu Jun 30, 2011 9:39 pm
- Forum: CSS / Styling
- Topic: image has border
- Replies: 20
- Views: 8923
Re: image has border
ok after playing about with it. It seems to be a problem with that you are using a class to give and img tag a background image through css. i added a src attribute to the 2 affected images to supply the image sources and it cleared the weird borders up, however it does mess up the hover on the wall...
- Wed Jun 29, 2011 7:56 pm
- Forum: CSS / Styling
- Topic: Wrapper Width
- Replies: 2
- Views: 2622
Re: Wrapper Width
if your not setting a fixed width then you have nothing to center as it will stretch across the entire width of the page.
if you want some white space around the edge, add a side margin.
if you want some white space around the edge, add a side margin.
- Wed Jun 29, 2011 5:51 pm
- Forum: General Chat
- Topic: linux eye candy thingy
- Replies: 3
- Views: 1287
Re: linux eye candy thingy
ooo thats nice. makes me want ubuntu just for that XD
- Tue Jun 28, 2011 10:40 pm
- Forum: General Chat
- Topic: I am complete!
- Replies: 20
- Views: 3938
Re: I am complete!
today was the nicest day we have had in ages!!
not only did it thunder and rain, but it was a nice mild temp outside, i ended up gettin changed into my football kit just to walk home in, while it was raining.
and by god was it one of the most relaxing walks home i have had in a damn long time!!
not only did it thunder and rain, but it was a nice mild temp outside, i ended up gettin changed into my football kit just to walk home in, while it was raining.
and by god was it one of the most relaxing walks home i have had in a damn long time!!
- Tue Jun 28, 2011 10:32 pm
- Forum: PHP
- Topic: Total brainfart, please help, don't allow spaces.
- Replies: 14
- Views: 2421
Re: Total brainfart, please help, don't allow spaces.
if your looking for a space character. i think you need to use \s
- Mon Jun 27, 2011 10:37 pm
- Forum: PHP
- Topic: Total brainfart, please help, don't allow spaces.
- Replies: 14
- Views: 2421
Re: Total brainfart, please help, don't allow spaces.
$username = preg_replace('#[^A-Za-z0-9_-]#', '', $_POST['username']);Thats what i use. removes any characters that are not of the above. not sure how to do the second bit tho, sorry

- Mon Jun 27, 2011 6:35 pm
- Forum: JavaScript
- Topic: Stop Enters
- Replies: 6
- Views: 1819
Re: Stop Enters
if you don't want multilines why are you using a text area?
i haven't tried achieving this, but try using substr. textbox value = substr(0,textbox.value - 1)
just a quick thought off the top of my head.
i haven't tried achieving this, but try using substr. textbox value = substr(0,textbox.value - 1)
just a quick thought off the top of my head.