USING POW with variable

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Tue Nov 20, 2012 11:02 am

USING POW with variable

Postby Roger45 » Tue Nov 20, 2012 11:23 am

POW(8/1/3) =2

$a=8 ;
b$=POW($a/1/3) - error occurs
Please advise - new to PHP and 1st post

php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: USING POW with variable

Postby seandisanti » Tue Nov 20, 2012 12:40 pm

error should occur in the first attempt also since you're passing the wrong number of parameters. check out

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 6 guests