Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.
Articles & Videos
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
This code is work if I change $table to gel in line 12 how can I change $table to correct way
pg_query(): Query failed: ERROR: syntax error at or near "$" LINE 8: cast(pub…
I am having a problem with a recurring PHP startup error message(s).
(Using PHP 7.07 on IIS 8.5 and Codeigniter 3.0)
• I have set the PHP Error Reporting to Production Machine in the IIS PHP mana…
I'm migrating a website over to a LAMP stack from a windows machine. Everything is going smoothly except for all the PDO exceptions. The PDO was using the "sqlsrv" driver, however that driver is no lo…
I get this data (csv formatted here) from a query.
I need to take the above data and loop through to create this JSON:
I can handle C# or PHP code.
Here's how this query appears in PHP:
I want to run this query in MSSQL Studio. I wrote it like this:
select count(*) num from [PCAR_Data].[dbo].[ACDCall
where cast(created as d…
can I post data from an asp page to php page through a form?
one of my colleague is using asp pages and I need him to post some data to my page, is it possible?
we are using different servers an…
I have a column in my data base called end_date, there could be 2 data types in this column
or it could be simply
My query looks like this
is there any function where I can pass a stringDate and it turn it into a correct sql format string?
something like this:
strDateTOSqlDate( "18/10/2016" ) -> result in "2016-10-1…
Nothing in an HTTP request can be trusted, including HTTP headers and form data. A form token is a tool that can be used to guard against request forgeries (CSRF). This article shows an improved approach to form tokens, making it more difficult to use "screen scrapers" to attack web forms.
This is my cart function (http://pastebin.com/38Jp1
As you can see my function creates a foreach loop for my products.
And i used a hidden inputs to hold values because td tags does not post an…
How to obtain the server real path in PHP programatically?
Ex. in local machine
Thanks in advance
I found code online to allow a user to sign with a mouse. It's working fine except that it doesn't save the file. (I've set the permissions on the server to read/write for the folder.) Any ideas on w…
I use PHP and mysql
how can I be sure that if my web form is actually posted from my own server?
I think anyone can send a data to my action page from a different server?
I use https by the way…
Could you point how to manipulate a textbox value before it's presented?
The value is presented with a file complete path, is it possible via jQuery to supress th…
Could you point a way on how to obtain the a file's name to be presented on a view?
The file name and complete path remain on a table column.
My tentative is:
Could you point a way on how to clear a jQuery variable buffer between modal callings?
The modal view is called - the textbox "Anexo" has no value - so the button "D…
Could you point how to obtain a modal textbox value when a modal is open?
The value is always
It runs only when clicking the te…
This code work but how can I change it to print all customer not only first customer
I am trying to use php sessions on my site but the data is not available to the php ajax scripts or other pages.
It is pretty simple, I'm using:
Then I set some session varia…
I need to add tracking code to the body tag for a client of mine. The code was provided by an advertising company. Not sure how to add this to the body tag on wordpress. is there a plugin I should …
This code I'm using by now permits just one file could be uploaded each time.
Why do my jump links (anchor links) not get me to the specific spot that I set it to take me to? For example, I want you to be able to click on a service and have it jump down to the h2 of that servi…
this code is not work in postgres when I use macro
sc_exec_sql(" sql ") I think problem come from " inside " "
but this below i test it work (HOW CAN i FIX " iNSIDE " " )…
i have a string which has 7 letters
I want to change the first two letters of this strings if it's first two letter is "st"
How can do it with php?
Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites. The storage of client passwords has become a subject of much dis…
Introduction This article is very old, and while most of its principles are sound, PHP programming has changed a lot in the last decade. For that reason, I've updated this information in another arti…
McLean, VA, United States
40,176 points this week
Cape Town, South Africa
35,320 points this week
9,300 points this week
Napier South, New Zealand
4,503 points this week
3,000 points this week