Posts by Ricardo Cruz • 162 points
9 posts
-
1
votes1
answer491
viewsQ: phpMyAdmin with slow Xdebug on Windows 8.1 with Xampp
Boas, A while ago I noticed that my phpMyAdmin was stupidly slow (more than half a minute in a simple consultation)... After researching about this, I came to the conclusion that Xdebug should be…
-
1
votes1
answer356
viewsA: Cookie not deleted - PHP
After testing, here’s the code working: function cookie($name, $value = 'nome', $expire = NULL, $path = '/', $domain = NULL, $secure = FALSE, $httponly = TRUE) { setcookie($name, $value, $expire,…
phpanswered Ricardo Cruz 162 -
2
votes2
answers5276
viewsA: How to paste 'buy' button under the product in Woocommerce
The Woocommerce files relating to the presentation of contents (templates) are in the folder /wp-content/plugins/Woocommerce/templates/ In this folder you can see the base templates (among others):…
-
1
votes1
answer154
viewsA: Reference the same table twice in another table
I frankly wouldn’t complicate so much and implement so: A doctor may have several users [check] A user can have several doctors [check] A doctor can be associated with a user as an intern and/or…
-
1
votes1
answer76
viewsA: How to make a top 5 in php
Boas, I do not understand very well the question, nor what you have already done, nor what type of database... But I will try to give some tips: After connecting to the database (I suppose you…
phpanswered Ricardo Cruz 162 -
7
votes2
answers4496
viewsQ: Consultations between tables with Eloquent - Laravel 5
Good, I have the following problem when using Laravel 5 in the relationship of tables: I have these 4 tables (hypothetical names to illustrate the problem): Using the Laravel 5 models I connected…
-
1
votes2
answers1023
viewsQ: Route Post is not being recognized (Laravel)
Good, I’m still new to using the Laravel 5, but I have a problem of Routes that I can not find solution anywhere (just the same problem Here and with no viable solution) Let me explain, in the…
-
0
votes1
answer228
viewsA: How can I put submenu inside a menu from a database
It seems to me that the problem is in mysql_fetch_array()... It does not associate the column name to the array and so you cannot access $line['title']... Try using mysql_fetch_assoc($result) or…
-
-1
votes3
answers1241
viewsA: Slider in jQuery (Nivo Slider) does not work when it is inside a content loaded via Ajax
I think you need to use the delegate: http://api.jquery.com/delegate/ It has happened to me before, but with the click, that after loading a page via AJAX it stopped working...…