
November 5th, 2002, 05:34 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
2 tables in php, error
i used the tutorial on this site to try to make 2 columns of items for a shop, and i get this warning:
Warning: Undefined variable: columns in c:apachehtdocsprojshopmain.php on line 17
for:
if ($image){
}
Warning: Undefined variable: columns in c:apachehtdocsprojshopmain.php on line 27
for:
if(($i % $columns) == ($columns - 1) || ($i + 1) == $numOfRows) {
}
what can i use with $columns to fix this problem.
|