Showing results 1 to 19 of 19
Search took 0.01 seconds; generated 1 minute(s) ago.
Posts Made By: jt1
Forum: PHP Oct 23rd, 2008
Replies: 11
Views: 538
Posted By jt1
Re: Syntax error, but I can't find it.

What column types are you using in your database for the dates?

If you're using date/datetime, make sure you are inputting the same format as your database columns (generally YYYY-MM-DD).

Also try...
Forum: PHP Oct 22nd, 2008
Replies: 7
Views: 399
Posted By jt1
Re: PHP Statement ?

Using the COUNT(*) query by PoA or mysql_num_rows on your query will return the same value.
Forum: PHP Oct 22nd, 2008
Replies: 8
Views: 534
Posted By jt1
Re: Passing Variables in Included File

Try this in your switch statement:


switch ($action)
{

case "partner_company":
$_GET['page'] = 'partner'; // Define the page - variable will then be available in addcompany.php
include...
Forum: PHP Oct 22nd, 2008
Replies: 4
Views: 245
Posted By jt1
Re: cookie replacing itself for no reason

Yes that is correct, you then could do something along the lines of:


if (ereg(':', $_COOKIE['RATED_PRODUCTS']))
{
// We have more than 1 product id
$pids = explode(':',...
Forum: PHP Oct 22nd, 2008
Replies: 11
Views: 538
Posted By jt1
Re: Syntax error, but I can't find it.

If you have magic_quotes on, make sure you strip slashes before running the mysql_real_escape_string on your $_POST vars
Forum: PHP Oct 22nd, 2008
Replies: 3
Views: 203
Posted By jt1
Re: Parse error: parse error, unexpected '['

No need to be embarrassed, I do it all the time :D
Forum: PHP Oct 22nd, 2008
Replies: 4
Views: 245
Posted By jt1
Re: cookie replacing itself for no reason

I think it has to do with your cookie name:


'ms-'.$pid


This is going to be different for each product that is rated, thus creating another cookie.

Try using one name for the cookie and set the...
Forum: PHP Oct 22nd, 2008
Replies: 3
Views: 203
Posted By jt1
Re: Parse error: parse error, unexpected '['

Hey soultrav,

Not sure if this is a typo in your post, line 9 should read:


while($slot[$i] == $slot[$j])


You seem to be missing the $
Forum: PHP Oct 22nd, 2008
Replies: 1
Views: 232
Posted By jt1
Deploying PHP Extension

Hi there,

I am writing a free php extension and am wondering if I'll need to compile it for each operating system (FreeBSD, Sun, etc...). I have compiled a separate dll for windows.

Cheers
Forum: IT Professionals' Lounge Aug 31st, 2007
Replies: 11
Views: 3,944
Posted By jt1
Re: India running out of skilled IT workers

I wrote a paper on this back in my first year of uni. Here's my take on it all.

Firstly, I am not prejudice, just merely stating the facts. I believe we all are human beings that have the same...
Forum: IT Professionals' Lounge Aug 31st, 2007
Replies: 1
Views: 757
Posted By jt1
Re: Registering a Home business

It depends on your taxation and government laws (I have no idea what your laws are in India).

Here in Oz we must pay our taxes if earning an income, and register a business if you trade under a name...
Forum: IT Professionals' Lounge Aug 31st, 2007
Replies: 3
Views: 903
Posted By jt1
Re: Needed help to enter in IT

IT has majors and minors, it is possible to do very little programming. Computer science is more so based on system architecture.

All I can say sasikala123 is practice makes perfect.

Perhaps try...
Forum: Community Introductions Aug 31st, 2007
Replies: 3
Hey
Views: 505
Posted By jt1
Re: Hey

Oh yes I will find you useful till the day I die - I've had you bookmarked for a long time now.

Such variety too. From solving Microsoft's endless list of problems to programming techy stuff, you...
Forum: PHP Aug 31st, 2007
Replies: 4
Views: 3,948
Posted By jt1
Re: Paypal shopping basket link

Hehe, sorry, my bad. I suppose that's what you get for answering at 3am on a Sunday morning.

You'll probably see a couple of others where I didn't read the date...

I'll apologise now in advance :$
Forum: PHP Aug 31st, 2007
Replies: 4
Views: 3,948
Posted By jt1
Re: Paypal shopping basket link

It's also good practice to clean-up when you're finished with your MySQL results:


@mysql_free_result($result);


This would go at the end of your while loop
Forum: PHP Aug 31st, 2007
Replies: 4
Views: 3,948
Posted By jt1
Re: Paypal shopping basket link

Hey Huw,

You'll need to do something like this:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- This site was created by Huw Hughes - huw_hughes712@hotmail.com...
Forum: PHP Aug 31st, 2007
Replies: 3
Views: 1,770
Posted By jt1
Re: Idea lacking expirience .......

Hi invader980,

No it's not possible for PHP to do this as PHP is a server side scripting language and a drop down box (HTML) is client side.

You can however use PHP and javascript to accomplish...
Forum: Community Introductions Aug 31st, 2007
Replies: 3
Hey
Views: 505
Posted By jt1
Hey

Hey all,

Sorry, I didn't realise there was an introducer forum, my bad.

Great site you have here. Have used it for many of years now. It's helped me a lot.

I'm from Australia and study IT at uni...
Forum: *nix Hardware Configuration Aug 31st, 2007
Replies: 0
Views: 1,082
Posted By jt1
Weird problem

Hi there,

Great site you have here, I have found it most helpful for a number of years.

I have a very strange problem that my server provider and cPanel support can't help me with.

Here's the...
Showing results 1 to 19 of 19

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:54 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC