Questions tagged as 'php'

1
answer

Perform update of records in Php [closed]

    Start update      <div align="center"> <table border="0" width="600" style="font-family: Verdana; font-size: 8pt" id="table1"> <tr> <td colspan="2"><h3 align="center">Actualizacio...
asked by 16.03.2018 / 13:40
2
answers

How to display json data in HTML

My problem is this, I need to print the data of a json in HTML, what I need to do is have a search input by ID or identification number, and that by pressing search I will show in a form the data that match with that number to be able to edit th...
asked by 16.03.2018 / 07:28
2
answers

Put a variable inside a Jquery

I'm doing a product query that pulls the item of a database. At the moment of giving click in a link this shows a content. What happens is that these item are within a bucle While . What I want is to get that by cli...
asked by 09.03.2018 / 16:19
1
answer

Fatal error: Call to undefined function mysqli_connect ()

I'm doing some web pages to refresh knowledge and hobbie, however, when I copied all the files from my pc (windows 7) where I did tests to a server linux centos shows me the following error: Fatal error: Call to undefined function mysqli_conn...
asked by 09.03.2018 / 22:18
1
answer

Search existing records in the database [closed]

I would like to search for a client by ID in my database and to find it, show the code of the form here: <form method="get" action=""> <p align="center">Cedula :<input name="cedula" type="text" value="" id="celcliente"&...
asked by 12.03.2018 / 00:36
2
answers

Browse JSON array from PHP

JSON: { "_labels": { "a": "DOLARTODAY", "a1": "DOLAR CUCUTA", "b": "IMPLICITO", "c": "DICOM", "d": "DOLAR BITCOIN", "e": "DIPRO" }, "_timestamp": { "epoch": "1520611865",...
asked by 09.03.2018 / 17:38
1
answer

Convert text to date

Hi, I'm working with materialize css, and obviously JS, I want to convert a string whose format is this: Mar 12, 2018 I want to convert that to Date so I can store it in the DB as Date.     
asked by 12.03.2018 / 07:13
1
answer

Problem with my route Route [invoices.obtainproducts] not defined

Generate my Controllers, models and views with infyom and everything perfect but when I create a function and I call it with a route in a view it tells me it is not defined I have in my file web.php the following line Route::r...
asked by 27.02.2018 / 20:39
1
answer

HTML table to query 2 tables in PHP

I have two tables (both related by their ID): Socios: Socios_carga ------------ -------------- ID ID Nombre Nombre RUT RUT Then with INNER JOIN I generate the query of...
asked by 07.03.2018 / 18:58
1
answer

Creating default object from empty value in Joomla

I want to bring the categories that are already registered and contacts which is not doing so I have the following code: function listContacts( $option, $catid ) { global $mainframe, $database, $my; global $mosConfig_live_site; glo...
asked by 27.02.2018 / 14:46