Fatal error import CSV

  • Posts: 136
  • Thank you received: 1
  • Hikashop Business
2 months 2 days ago #337114

Buenos días.
Estoy intentando subir un archivo CSV a Hikashop para cambiar los precios.
Adjunto el archivo PHP que estoy utilizando.
El mensaje de error que me aparece es el siguiente:
Fatal error: Uncaught Error: Call to undefined function stockform() in /home/customer/www/joseangelgaliano.com/public_html/stock/precioform.php:8 Stack trace: #0 {main} thrown in /home/customer/www/joseangelgaliano.com/public_html/stock/precioform.php on line 8

¿Me podéis ayudar?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 74542
  • Thank you received: 11498
  • MODERATOR
2 months 2 days ago #337119

Hi,

On line 8 you're using the function called stockform.
That function doesn't exist in PHP.
What you want to use instead is the function mysqli_connect to connect to the database:
www.php.net/manual/en/function.mysqli-connect.php

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum