1
Show Posts
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
Messages - charchi
2
Suggestions / report customizer
Greetings and thank you.
3
Questions / Re: database connection for query sql
4
Questions / Re: database connection for query sql
Another thing I need to do is when I delete a record that is deleted from that table but before it is copied to another table that I will call casualties rather than a deletion would be to move a record from one table to another.
Surely throughout my development I will need to do more things that phprad does not include by default, so I want to know how I can execute sql queries without previously creating the connection to the database, if not use the one that already has the default.
Greetings and thank you.
5
Questions / database connection for query sql
Hello everyone, I am very new to phprad and there is a question that I cannot clear.
How can I launch custom sql queries without first connecting to the database. For example:
If I launch a sql query like I would be:
$sql = mysqli_query ($mysqli, "SELECT * FROM table");
but in doing so, it tells me that I have no connection to the database. first you would have to create a connection with:
$mysqli = new mysqli ("localhost", "root", "", "database_bd");
to make it work. This is a problem, because when deploying the project on another server with a different ip / DB, it would be necessary to change the connections in all the files where there were custom queries.
How would you do it in phprad so that when launching the custom query it would use the existing connection to the database?
Greetings and thank you.
6
Questions / Re: disable cascade delete
Thanks for your answer. I think I remember reading something you are talking about, but I really don't know how it works. See if someone who has had the opportunity to use this option answers and can explain a bit how to do it. Thank you
7
Questions / disable cascade delete
Greetings and thank you.