Questions tagged as 'php'

1
answer

Duplicate data

I have a table where the clients create the budget and each product inserted a registration is made to separate, but I want to make a query by the name of the client that the system does not take more than one, but one. thanks in advance     
asked by 04.03.2015 / 20:10
1
answer

Limit to one click per person

I want to limit the click of a button to 1 click per computer. Is it possible? Code so far: <html> <body> <br><br> <a style="color: grey; background-color: #fff; font-family: Arial; text-decoration: no...
asked by 11.06.2015 / 00:22
1
answer

Translation OpenCart Theme

I'm about to buy an OpenCart theme in ThemesForest, but I wonder if any theme I buy has a translation option. Both the site and the Panel. Is a translation package down or do I have to do this directly in the PHP file? I already have OpenC...
asked by 10.06.2015 / 13:35
2
answers

Return ajax data with php

I am creating a modal in ajax where it will return the id and list the information in the modal the problem is that the php returns the "whole page" for ajax and gives me no error in the console, I already tried to use firebug <script>...
asked by 08.06.2015 / 19:59
1
answer

Pass a button-like link value through the url to be used on another page with javascript or php

Good morning everyone! I am new to web development and am developing a web application with Php, javascript and mysql. My question is the following question: I have a table, where I am loading the information that I retrieved from my database, a...
asked by 22.10.2015 / 19:43
1
answer

Detect errors and potential problems (lint or code quality tool)

Is it possible to analyze (check) a PHP code to determine the "quality" of the organization and to detect potential problems? link     
asked by 17.02.2015 / 19:23
1
answer

Generate Download Page [duplicate]

How do I generate a download page for users to click on a link or download button. This is my remote upload script: <form method="post"> <input name="url" size="50" /> <input name="submit" type="submit" /> </form>...
asked by 22.02.2015 / 19:06
1
answer

Relate named ID in the same table

I need some help. I have a category table that has the fields: id; name; description; id_category_name; id_user; I want to get the category name when the category_id id is equal to the category id. Example: The category C...
asked by 18.02.2015 / 12:08
1
answer

Create folder and upload file during the same insert

I want to insert a story together with the image file in a single post, the problem is that I would like to create a folder with the news ID where the image will be stored. Is it happening that the insert is running plus the upload, not some lig...
asked by 18.02.2015 / 20:50
2
answers

Real-time ajax request

Well folks I have a script to do ajax request every 1 second to show me new content but now I am having a problem that it every 1 second updates me the whole content I wanted to only show up if there is a new one content in the database. The...
asked by 21.02.2015 / 00:24