Posts by saulo • 185 points
7 posts
-
0
votes0
answers133
viewsQ: Page restriction for admin and editor
On my site I have an administrative bank where I run a page with two users < admin,editor > and on another page I need to make a restriction to allow access only to the admin, but the script…
-
0
votes1
answer484
viewsQ: indefinite index
Good evening, I have a code where I do an Insert into,but this returning me error, and I am unable to solve, in the same field is printed in the database, page and content. The page is registered…
-
7
votes2
answers4071
views -
0
votes1
answer54
viewsQ: how to make Ceil call
How could I fix my code after counting by printing the value for myself and then splitting it? I’m a beginner in php. $sql = "SELECT Sum(visitas) AS visitas FROM lp_post"; $visitas_total =…
-
4
votes1
answer135
viewsQ: error in mysql_result()
I am again looking for help to understand an error given in a call to mysql_result(), which I cannot solve this error: Warning: mysql_result() expects Parameter 1 to be Resource, Object Given in C:…
-
5
votes3
answers3563
viewsQ: mysqli_escape_string() expects Exactly 2 Parameters, 1 Given
I am facing an error in my code, when I run the server behavior of DW C6, when the step of mysql_ for mysqli_, then I get an error in the function executed on line 10. The mistake is: Warning:…
-
0
votes0
answers91
viewsQ: How to make the session_start call?
How to set up a form of Pagseguro in a session_start for my shopping cart; this is my code: <h1>Confirmar Pedidos</h1> <table width="569" border="0"> <tr> <td colspan="4"…