Posts by Gleidson2012 • 36 points
4 posts
-
0
votes1
answer471
viewsA: Prohibit the insertion of repeated data
A very simple way to implement this behavior would be using listeners about the input and executing a query via ajax to the server to validate the existence of the description in the database. You…
-
0
votes1
answer7521
viewsA: How to query in Mysql and PHP database
According to the above scenario to get data from the database you must execute a query query (SELECT). Suppose you want to simply refer to the name and street of the table register you can use the…
-
1
votes1
answer942
viewsA: Calculate the working time difference between two dates
You can solve this problem by using the native classes PHP offers to manipulate Date/Time. According to the description of your problem a possible solution would be to calculate the number of…
phpanswered Gleidson2012 36 -
1
votes1
answer30
viewsA: Insert data in specific part from a file
Whereas you intend to add numerous tags <item> followed by </channel></rss> a possible solution is: <?php $xmlstr = '<?xml version="1.0"?><rss…
phpanswered Gleidson2012 36