Posts by Bruno Roberto • 71 points
9 posts
-
1
votes1
answer293
viewsQ: Hide or display button through a ifelse with data from a foreach
Guys I have this code, and the following, I need to print or hide a button according to the result of foreach, example if it is empty I want it to hide the button, if you have any item it shows the…
phpasked Bruno Roberto 71 -
1
votes4
answers629
viewsA: How to make a Popup that only records information on the cookie or anything and displays only once on the website homepage
Solution for this application : <script type="text/javascript"> function setCookie(name, value, days) { if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 *…
-
1
votes4
answers629
viewsQ: How to make a Popup that only records information on the cookie or anything and displays only once on the website homepage
I have an adult entertainment site and I need to do an 18-year term to get on the site before... A screen will be displayed confirming the age and such of the person to click ok if it is bigger. But…
-
0
votes1
answer137
viewsQ: How to update a different table with data from another table in PDO
I have a pay-as-you-go table, and in it I have an indemnification code for every transaction, when receiving the update data, I want to take the data and enter in update in another table of the…
-
0
votes0
answers181
viewsQ: How to Update 2 tables with Switch case and database data and others coming from an xml return?
I have progressed a lot in the code, within what I thought was necessary, only I don’t know how to organize my syntax so that everything happens as I want, the switch/case that runs in the bank to…
-
0
votes0
answers278
viewsQ: PDO, Select a query with some fields, from a certain user and code
I need to set up a consultation where I’ll only have five fields (STATUS, ID_USUARIO, PACKED, ID_TRANSACAO and ENTREGUE). I need that when I have change of STATUS change to another table, and update…
-
0
votes2
answers700
viewsQ: Taking URL Variables from One Page, and using another
I have a link in which I receive the parameters in the url completely, in case it points to an HTML where I have my inputs, and I receive the URL with the parameters, what I need is to take the…
-
0
votes1
answer1148
viewsQ: User when logging in has 2 types of menus and before that the system must understand whether it is logged in or not to display another menu
Personal in my code above, I am trying to display 2 types of menu for the user, when logged in, and not logged in, in case when logged in it still mounts another menu comparing which type of user is…
-
3
votes1
answer347
viewsQ: Foreach in XML with ids and store in a variable to insert data in a given table
Good afternoon, Next, I have a system that already have the registered ids in a table, ( of cars , are opicional of cars) and in the other table where it is registered the cars is called these IDS…