Thanks, Zinavo, but that code does not use mysqli. I am trying to upgrade to code that will work in 7.4 mysql_query has been deprecated. Sounds as if you may need to update your code too. :)
Type: Posts; User: kuau; Keyword(s):
Thanks, Zinavo, but that code does not use mysqli. I am trying to upgrade to code that will work in 7.4 mysql_query has been deprecated. Sounds as if you may need to update your code too. :)
Thanks for explaining. So the second case is more like if setting $test to 1 is true, then $test="u"? If the second example is not a conditional statement, why is the 'if' used? It seems kind of...
Dear James: I just came here to tell you I figured it out by finding an example online here https://www.w3schools.com/Php/func_mysqli_num_rows.asp and then saw your solution which is basically the...
Dear James: Thank you. Yes, that was definitely a mistake but, when I fixed it, then I got no result. The COUNT is for the number of upcoming events on an event calendar. You can see what I am...
I am updating an old site written in php 5.4 to php 7.4 and I am having trouble with this line...
$upcoming = mysql_result(mysql_query("SELECT COUNT(*) FROM `event` WHERE `approved`=1 AND...
Dear Chechu: This is just a guess, but perhaps your html form needs to be something like this... your form code does not seem to be making a selection from options. Please see if this helps. ...
1) Script Title: Swiss Army Slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm
3) Describe problem: I was just wondering if this script had been...
That fixed it! Thank you so much. I finally have a website running under php70 so was forced to update the getpics.php. I'm not entirely sure what the extra code in the getalbumpics.php does, and...
Excellent reply... thank you! My code is very organized (lean & mean) so I never needed the "_once." I mistakenly thought that it was 'best practices' to use it so I am happy to be able to remove...
Dear Daniel: In your php Tips, #7 says "require_once() is expensive." Does that mean "include_once()" is expensive in the same way? Is plain "include()" better? Thanks. aa :)
Even though the techs said it couldn't be done, I have finally figured out a solution to the problem myself that works on both Bluehost and GreenGeeks.
How to override the single php.ini default...
Hi John: Your successors to Swiss Army look great. I would be very happy to help with the documentation. God knows you've helped me enough. I was actually a technical writer for a software...
Was Swiss Amy Slideshow ever made mobile friendly? I love that slideshow (thanks, John!).
Bluehost is currently upgrading to a new version of cPanel that has removed the PHP Config tool and replaced it with a Multi PHP Manager. PHP Config used to allow you to choose between single...
1) Script Title: PHP Photo Album script
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/php-photoalbum.htm
3) Describe problem: I have been using version 1 of this script for many...
Wow, you are a goldmine of exactly what I need to know. I wish I had asked this question 5 years ago! Thanks so much. I have a lot of homework to do! :)
Thank you! I used to use Ultimate Fade In Slideshow. I'm sure there was a reason why I switched to Swiss Army, but can't recall at the moment. I'll check it out. I really appreciate all the great...
Dear B: Thanks so much... great information! I have never ventured into this part of css... been out to lunch I guess LOL. I haven't had time to try anything yet, but I'm just wondering if making...
Wow, thanks so much! I knew nothing about css media queries. Thanks for pointing me in the right direction. I still would like to know how best to deal with images. I learned originally that you...
Thanks. I checked it and it validated with only one warning, which I have no idea what it means...
I added that line to the head of my pages and it made it worse, showing only a phone sized section of my home page. What I would really like to do is learn how to adapt the css and slideshows so...
Interesting. I did think they were synonymous, but you're probably right.
Over the past few days I have been flooded with emails from Google Webmaster Tools advising me to "Fix mobile usability issues found on..." virtually all my websites. I understand that Google will...
Non issue
Thanks. So my example would work as written?