Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Error Handling with very basic SQL query
Post: RE: Error Handling with very basic SQL query

emm.. that function mssql_get_last_message is removed in php 7.0
8,032 Views
9 Replies
04-22-2019, 06:03 AM
aslamdoctor
    Thread: Error Handling with very basic SQL query
Post: RE: Error Handling with very basic SQL query

php_rocs Wrote: (04-22-2019, 01:16 AM) -- @aslamdoctor, Maybe this will be helpful to you https://codeigniter.com/user_guide/database/queries.html?highlight=error#handling-errors Also, I did find...
8,032 Views
9 Replies
04-22-2019, 01:28 AM
aslamdoctor
    Thread: Error Handling with very basic SQL query
Post: RE: Error Handling with very basic SQL query

php_rocs Wrote: (04-21-2019, 11:08 AM) -- @aslamdoctor, Specifically, what database error is being given?  Also, have you run your query directly in the database to make sure that it works?  Also,...
8,032 Views
9 Replies
04-21-2019, 08:47 PM
aslamdoctor
    Thread: Error Handling with very basic SQL query
Post: RE: Error Handling with very basic SQL query

InsiteFX Wrote: (04-21-2019, 09:43 AM) -- CodeIgniter User Guide - Database PHP Code: -- if ( ! $this->db->simple_query('SELECT `example_field` FROM `example_table`')) {        $error = $this-...
8,032 Views
9 Replies
04-21-2019, 09:46 AM
aslamdoctor
    Thread: Error Handling with very basic SQL query
Post: Error Handling with very basic SQL query

Hi Guys, I have built this simple code which uses a specific database configuration and then runs SELECT query on the EMPLOYEE table. This table has very huge database and I believe because of th...
8,032 Views
9 Replies
04-21-2019, 08:05 AM
aslamdoctor
    Thread: [SOLVED] Getting CORS error-No 'Access-Control-Allow-Origin' header is present
Post: RE: Getting CORS error-No 'Access-Control-Allow-Or...

InsiteFX Wrote: (07-20-2018, 08:40 AM) -- Cross-Origin Resource Sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) I was get errors  on fonts and had to add this to the .htacc...
22,461 Views
2 Replies
07-20-2018, 09:10 AM
aslamdoctor
    Thread: [SOLVED] Getting CORS error-No 'Access-Control-Allow-Origin' header is present
Post: [SOLVED] Getting CORS error-No 'Access-Control-All...

I have created an API server using codeigniter. I haven't used any kind of rest api libraries. Just created array of data and did json encoding on it. Now I am trying to fetch the data by making ajax ...
22,461 Views
2 Replies
07-20-2018, 06:48 AM
aslamdoctor
    Thread: Is it possible to read PUT and DELETE requests using codeigniter?
Post: Is it possible to read PUT and DELETE requests usi...

I am creating an API server using CI and created few basic functions like insert, update, delete, read. But I was wondering if it is possible to do update action by reading PUT request from any form a...
4,380 Views
1 Replies
07-11-2018, 11:44 PM
aslamdoctor

Theme © iAndrew 2016 - Forum software by © MyBB