Search found 7 matches

by Cgull
Wed Dec 29, 2010 12:06 am
Forum: PHP - Code
Topic: An error with array_push function
Replies: 2
Views: 849

Re: An error with array_push function

Of course !!!

:) a bit of a brain freeze there.

Thank you very much
by Cgull
Tue Dec 28, 2010 11:19 pm
Forum: PHP - Code
Topic: An error with array_push function
Replies: 2
Views: 849

An error with array_push function

Hello, I am trying to push values into an array and I get this error: Parse error: syntax error, unexpected T_DOUBLE_ARROW in... My code is (I added the words ERROR HERE on the problem line): function fGetOrders($day, $month, $year) { require("dbCon.php"); $orders = array(); $orderDets = a...
by Cgull
Sat Feb 14, 2009 8:26 am
Forum: PHP - Code
Topic: Clean url's problem
Replies: 1
Views: 386

Clean url's problem

Hi, I'm trying to create clean url's for a site I'm working on. This is the first time I'm trying to use clean url's and got very confused. It's working fine on my local machine where the url is: http://ruthrudindesigns.com/content/about My files sturcture is: c:\wamp\www\ruthrudindesigns\content\ab...
by Cgull
Fri Dec 19, 2008 7:42 am
Forum: PHP - Code
Topic: imagick works only on first try
Replies: 0
Views: 100

imagick works only on first try

Hello, This is the first time I'm trying to use imageMagick to create thumbnails. I use a tutorial I found on the net, and this tutorial works only the first time I upload an image. If I try to upload an image again, it says that the thumbnail was created successfully, but actually, no thumbnail was...
by Cgull
Tue May 06, 2008 11:11 am
Forum: PHP - Code
Topic: PHP Notice: Undefined index: content in... Please help
Replies: 2
Views: 137

PHP Notice: Undefined index: content in... Please help

Hi, I just uploaded a new site I've created that works fine on my machine, but online I get this error on the home page: PHP Notice: Undefined index: content in C:\Domains\sigalz.co.za\wwwroot\cv\xhtml\index.php on line 24 In my index file, I have this code: Line 24 is marked in Red: <?php if (!isse...
by Cgull
Wed Apr 09, 2008 6:20 am
Forum: PHP - Code
Topic: include function gives me an error
Replies: 1
Views: 92

include function gives me an error

Hello, I get an error when I'm trying to include a page in my index.php. My index.php is in: c:\wamp\www\sigalzcv\xhtml\ The page I'm calling is: c:\wamp\www\sigalzcv\xhtml\content\work.inc.php In my index.php I have this code: <div id="main"> <?php if (!isset($_REQUEST['content'])) $nextP...