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 114
Search took 0.07 seconds.
Search: Posts Made By: Andrew
Forum: Advanced PHP Programming 10-05-2008, 08:00 PM
Replies: 3
Views: 757
Posted By Andrew
Tying classes together

Well, I'm reading my OOP book right now, but it doesn't seem to help me TOO much when it comes to tying classes together.

Basically, say I have a user class, which requires access to a database....
Forum: The Lounge 09-27-2008, 10:09 PM
Replies: 2
Views: 905
Posted By Andrew
Looking for PHP Programmers to hire

Hello,

First off, sorry I put this in the Lounge, but it seemed better than the other forums.

I'm starting a new service and I need some PHP programmers which would be fed some work. I am looking...
Forum: The Lounge 02-19-2008, 01:34 AM
Replies: 18
Views: 729
Posted By Andrew
I like Ron Paul, like you guys, however I'm...

I like Ron Paul, like you guys, however I'm starting to think that changing from what we are now to what he wants us to be would be too radical of a change (i.e. we are so screwed up and powerful...
Forum: Absolute Beginners 02-19-2008, 01:28 AM
Replies: 11
Views: 1,070
Posted By Andrew
<img src="path/to/image.gif" alt="Alt text"...

<img src="path/to/image.gif" alt="Alt text" />
Like that?
Forum: Absolute Beginners 02-18-2008, 01:56 AM
Replies: 10
Views: 3,565
Posted By Andrew
He wasn't asking how to check passwords, he...

He wasn't asking how to check passwords, he wanted to know how sites allow users to reset their passwords or get the password sent to them if they forgot it.
Forum: Absolute Beginners 02-17-2008, 05:18 AM
Replies: 3
Views: 841
Posted By Andrew
After the while block, add in: echo $block; And...

After the while block, add in:

echo $block;

And also add in a period before the first equal sign within the while block.
Forum: General 02-13-2008, 04:51 AM
Replies: 10
Views: 906
Posted By Andrew
Instead of just using the ID field, you can...

Instead of just using the ID field, you can create a row in the table named 'files', and you could list them off, separating them by a semicolon and storing them that way. (You can then use a...
Forum: General 02-10-2008, 12:08 AM
Replies: 9
Views: 1,304
Posted By Andrew
Vanilla is one. Vanilla - Free, Open-Source...

Vanilla is one.

Vanilla - Free, Open-Source Forum Software (http://getvanilla.com/)
Forum: Absolute Beginners 02-05-2008, 12:15 AM
Replies: 10
Views: 1,039
Posted By Andrew
Try: if (count($_GET) > 1) { /* error */...

Try:

if (count($_GET) > 1) { /* error */ }

$_GET is an array, so you have to use count() to count how many parts to the array there are.
Forum: General 01-26-2008, 08:42 PM
Replies: 14
Views: 789
Posted By Andrew
ReSpawN: If they got hacked, it doesn't...

ReSpawN: If they got hacked, it doesn't necessarily mean it's a leak in PHP, they could get hacked any number of ways.
Forum: The Lounge 01-23-2008, 02:41 AM
Replies: 8
Views: 674
Posted By Andrew
Cats are better! (Well, they are for the nerds...

Cats are better! (Well, they are for the nerds who sit at the computer all day and don't want to give attention, instead) :)

Yeah, that photo is pretty insane, I think it's fake, but I've heard...
Forum: General 01-20-2008, 06:53 PM
Replies: 18
Views: 9,887
Posted By Andrew
I sometimes go without JavaScript because I...

I sometimes go without JavaScript because I disable it to test sites that use it (to see if they work without it), and forget I turned it off.
Forum: General 01-19-2008, 09:51 PM
Replies: 18
Views: 9,887
Posted By Andrew
With header(), you can't have any output or...

With header(), you can't have any output or whitespace outputted to the browser before that function is called. If that's the entire code for the page, try getting rid of the blank lines. If it still...
Forum: General 01-16-2008, 02:27 AM
Replies: 61
Views: 2,626
Posted By Andrew
Intype. Simply amazing. I've been looking as...

Intype. Simply amazing.

I've been looking as well. You could do it in the older version, but can't seem to find the option. I've simply just made it small so it is out of my way.
Forum: Advanced PHP Programming 01-08-2008, 01:12 AM
Replies: 5
Views: 1,124
Posted By Andrew
Outputting MySQL Results

I just spent a good 20 minutes writing this out, before I realized I'm not explaining it well, nor will all the info I need help with fit on this page. If any of you who are PHP 'gurus' would be...
Forum: Javascript, AJAX, E4X 01-08-2008, 12:56 AM
Replies: 10
Views: 1,602
Posted By Andrew
I would recommend the one obolus suggested in the...

I would recommend the one obolus suggested in the latter portion of his post. I've tried it out a bit, but when I tried it, it didn't support CSS background images, but now that it does, it might be...
Forum: XHTML, HTML, CSS 01-07-2008, 03:41 AM
Replies: 7
Views: 1,178
Posted By Andrew
I would also suggest putting this: * { ...

I would also suggest putting this:

* {
margin: 0;
padding: 0;
}

at the top of your CSS file to reset all paddings and margins. This way, you won't have as much trouble with the IE box model...
Forum: Script Giveaway 01-07-2008, 01:58 AM
Replies: 16
Views: 2,610
Posted By Andrew
I was actually saying to myself the other day, I...

I was actually saying to myself the other day, I needed to find a script like this. Thanks a lot! I'll have to modify it a bit of course to fit my needs, but I never knew what headers to use. Thanks!
Forum: General 01-06-2008, 08:28 PM
Replies: 7
Views: 552
Posted By Andrew
I do it like what Karl posted. I keep it to the...

I do it like what Karl posted. I keep it to the left, however I add one tab, and keep the parentheses for array() on the line with something else, so as to not add too many unneeded lines.
Forum: Absolute Beginners 01-06-2008, 08:27 PM
Replies: 12
Views: 868
Posted By Andrew
Also, I like adding the space, as it's more...

Also, I like adding the space, as it's more flowing. You don't do: (Well, most don't do:)

$var='var';

So if you add a space between those, and all the loops/statements, then it just looks a lot...
Forum: Advanced PHP Programming 01-03-2008, 06:42 PM
Replies: 10
Views: 5,348
Posted By Andrew
I've never had to use expression() in my CSS...

I've never had to use expression() in my CSS before, but will it automatically update upon resizing? I understand it might not work DURING the resize, but once you finish, will it update?
Forum: Advanced PHP Programming 01-01-2008, 07:06 PM
Replies: 2
Views: 640
Posted By Andrew
Fixed. Without my knowing, database.class.php was...

Fixed. Without my knowing, database.class.php was being saved to the directory where I had all my old include files. So once I put the query() method in the new files, it worked.
Forum: General 01-01-2008, 07:01 PM
Replies: 25
Views: 1,923
Posted By Andrew
Well, it was Alan, but Salathe already directed...

Well, it was Alan, but Salathe already directed us to this one. :)
Forum: Advanced PHP Programming 01-01-2008, 06:54 PM
Replies: 8
Views: 762
Posted By Andrew
Well, if they are in the same class, are you...

Well, if they are in the same class, are you using self::drawHeaders() or $this->drawHeaders()?
Forum: Advanced PHP Programming 01-01-2008, 04:01 AM
Replies: 2
Views: 640
Posted By Andrew
Singleton Help

Hello,

Salathe was helping me a bit with this script I'm coding, and I figured it would be best if I just used a database class for this script, as it might be helpful to us in the future. The...
Showing results 1 to 25 of 114

 

All times are GMT. The time now is 12:55 PM.

 
     

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