Fatal error import CSV

  • Posts: 311
  • Thank you received: 8
  • Hikashop Business
3 years 6 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: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 6 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.056 seconds
Powered by Kunena Forum