|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Problem by article: Building A Persistent Shopping Cart With PHP and MySQL
When I create the page products.php according to this article
URL I get the following problem, when viewing the page products.php in my browser: Parse error: parse error, unexpected $end in c:\apache\htdocs\phptestsite\mijnwinkel\products.p hp on line 71 Does anyone know what the problem is and how I can solve this. Greetz, Olaf |
|
#2
|
|||
|
|||
|
this problem is solved (I had a { to much). BUt now the following occurs:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\apache\htdocs\phptestsite\mijnwinkel\products.p hp on line 22 |
|
#3
|
|||
|
|||
|
Olaf,
Can you paste the code you're using? It'll help us determine the problem...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#4
|
|||
|
|||
|
re: occurs:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\apache\htdocs\phptestsite\mijnwinkel\products.p hp on line 22 This probably means there was no result returned from your database. Try this echo "$query"; or something similiar. to check your query |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Problem by article: Building A Persistent Shopping Cart With PHP and MySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|