Forum: PHP Oct 23rd, 2008 |
| Replies: 11 Views: 538 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 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 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 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 |
Forum: PHP Oct 22nd, 2008 |
| Replies: 3 Views: 203 |
Forum: PHP Oct 22nd, 2008 |
| Replies: 4 Views: 245 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 |
Forum: PHP Oct 22nd, 2008 |
| Replies: 1 Views: 232 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 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 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 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 Views: 505 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 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 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 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 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 Views: 505 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 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... |