with uploading
yes,I agree with Ash ,you can
test it on a local testing server
or the other server.
if it work ,then you can sure it's environment
problem.
2009-03-05
zhoo
发件人: Ashley Sheridan
发送时间: 2009-03-05 04:10:02
收件人: Karl St-Jacques
抄送: php-general
主题: Re:
Hi,
I am pretty new to PHP and I am trying to create a shopping cart.
I keep on getting the below error when trying to show the shopping list.
Any guidance that can be provided will be very much appreciated
Fatal error: Call to a member function query() on a non-object in
C:\wamp\www\draft\b
= mysql_fetch_array($result)){
$output[] = ''.$row['name'].': £'.$row['price'].'Add to Cart';
}
$output[] = '';
echo join ('', $output);
?>
Many Thanks
Vee
2009/5/16 Ashley Sheridan
> On
Can you please help with my checkout script. I have been getting errors as
shown below:
Warning: mysqli_query() expects parameter 1 to be mysqli, object given in
C:\wamp\www\draft\checkout.php on line 26
Warning: mysqli_affected_rows() expects parameter 1 to be mysqli, object given
in C:
I am trying to send images to my browser using the header function, but keep on
getting 'No image Available'.
Can someone please help!!
_
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/
That should get you started :
$dirname='/var';
$dh=opendir($dirname) or die('could not open directory');
while (!(($file=readdir($dh))===false)){
if (is_dir('$dirname/$file')){
$myarray[]=$file;
}
echo "$file";
$myarray[]=$file;
}
Mario
Merlin wrote:
Hi there,
does anybody know h
Hello,
I have trouble uploading files to a server. Actually I can't upload more than
500 bytes or so.
Here's a quick print_r of the $_FILES
[_FILES] => Array( [avatar] => Array ([name] => index.html[type] =>
text/html[tmp_name] => /tmp/phpRbmXK5[error] => 0[size] =>
> > Hello, > > > > I have trouble uploading files to a server. Actually I can't
> > upload more than 500 bytes or so.> > > > Here's a quick print_r of the
> > $_FILES > > > > [_FILES] => Array( [avatar] => Array ( [name] => index.html
> > [type] => text/html [tmp_name] => /tmp/phpRbmXK5 [error]
101 - 108 of 108 matches
Mail list logo