<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>PHP</title>
    <description>The most widely used server-side programming language for web applications.</description>
    <pubDate>Sun, 08 Mar 2026 03:28:51 +0000</pubDate>
    <lastBuildDate>Sun, 08 Mar 2026 03:28:51 +0000</lastBuildDate>
    <generator>Digital Point</generator>
    <link>https://forums.digitalpoint.com/forums/php.37/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://forums.digitalpoint.com/forums/php.37/index.rss"/>
    <item>
      <title>Here’s the “proper way” to do comparisons—and why it matters.</title>
      <pubDate>Wed, 18 Feb 2026 21:01:29 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/here%E2%80%99s-the-%E2%80%9Cproper-way%E2%80%9D-to-do-comparisons%E2%80%94and-why-it-matters.2884467/</link>
      <guid>https://forums.digitalpoint.com/threads/here%E2%80%99s-the-%E2%80%9Cproper-way%E2%80%9D-to-do-comparisons%E2%80%94and-why-it-matters.2884467/</guid>
      <author>invalid@example.com (Jeffery Paris)</author>
      <dc:creator>Jeffery Paris</dc:creator>
      <content:encoded><![CDATA[If you’re new to PHP, here’s the “proper way” to do comparisons—and why it matters.<br />
<br />
1) Default to strict comparisons (=== and !==)<br />
Strict comparisons check both value AND type. That prevents PHP from “helpfully” converting values behind your back. Loose comparisons (==) can make things like 0, &quot;0&quot;, false, null, and &quot;&quot; behave as if they’re the same, which is a fast path to confusing bugs (and occasionally security issues).<br />
<br />
2) Normalize types at the edges<br />
Most weird comparison bugs come from...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/here%E2%80%99s-the-%E2%80%9Cproper-way%E2%80%9D-to-do-comparisons%E2%80%94and-why-it-matters.2884467/" target="_blank" class="internalLink">Here’s the “proper way” to do comparisons—and why it matters.</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Is there still a market for old school PHP programming from scratch?</title>
      <pubDate>Fri, 30 Jan 2026 00:45:11 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/is-there-still-a-market-for-old-school-php-programming-from-scratch.2882595/</link>
      <guid>https://forums.digitalpoint.com/threads/is-there-still-a-market-for-old-school-php-programming-from-scratch.2882595/</guid>
      <author>invalid@example.com (David26)</author>
      <dc:creator>David26</dc:creator>
      <content:encoded><![CDATA[When PHP was still new, we coded from scratch so I never stopped doing that.  I didn&#039;t like bloated frameworks and especially all of the client side scripts that every website in existence uses today that is ultra slow.  You load a website, then you have to wait for additional loading icons to complete downloading all of the crap.  I stopped coding for clients many years ago, but I still code for myself adding features that load immediately without any bugs. The latest project I am working...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/is-there-still-a-market-for-old-school-php-programming-from-scratch.2882595/" target="_blank" class="internalLink">Is there still a market for old school PHP programming from scratch?</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>Sending requests via proxy is too slow</title>
      <pubDate>Thu, 23 Oct 2025 07:23:48 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/sending-requests-via-proxy-is-too-slow.2866696/</link>
      <guid>https://forums.digitalpoint.com/threads/sending-requests-via-proxy-is-too-slow.2866696/</guid>
      <author>invalid@example.com (Kuna)</author>
      <dc:creator>Kuna</dc:creator>
      <content:encoded><![CDATA[I bought proxies and I’m making Guzzle requests to the API via proxies. Some requests are fast, 1-3 seconds, some last 30 seconds, a minute or more.<br />
<br />
I can&#039;t figure out why is that? Why are API requests taking so long via proxies? They are not free proxies. I tried to test by sending the same requests directly from my own server and it takes 1-2 seconds each request, every time.<br />
<br />
Those proxies are located near my country, they are located in neighboring countries.]]></content:encoded>
      <slash:comments>14</slash:comments>
    </item>
    <item>
      <title>Need your help / input</title>
      <pubDate>Tue, 02 Sep 2025 09:09:05 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/need-your-help-input.2881078/</link>
      <guid>https://forums.digitalpoint.com/threads/need-your-help-input.2881078/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[Been working on a new version of my site. Everything worked fine on my end, but when I went live with it, some started reporting that they couldn&#039;t post an ad because right under the <b>Post A Free Ad</b> title the page was blank. I tried to replicate the issue using 5 different browsers / an ipad, an iphone, a samsung phone and I couldn&#039;t. Can you guys click on the link below and tell me if you see a normal posting page or a blank page?...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/need-your-help-input.2881078/" target="_blank" class="internalLink">Need your help / input</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>Does foreach() work within for()?</title>
      <pubDate>Thu, 29 May 2025 06:00:43 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/does-foreach-work-within-for.2883249/</link>
      <guid>https://forums.digitalpoint.com/threads/does-foreach-work-within-for.2883249/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[For some reason can&#039;t make it work, and since I don&#039;t know why, I want to ask if this should work:<br />
<br />
for($i=0; $i &lt; $total; $i++ ) { <br />
...some code<br />
<br />
foreach($_POST[&#039;del&#039;] as $pics) {<br />
...some code<br />
}<br />
<br />
...some code<br />
}<br />
<br />
Everything works fine when foreach() is outside of for()]]></content:encoded>
      <slash:comments>9</slash:comments>
    </item>
    <item>
      <title>login and /register pages don’t open</title>
      <pubDate>Sat, 15 Mar 2025 10:07:11 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/login-and-register-pages-don%E2%80%99t-open.2881556/</link>
      <guid>https://forums.digitalpoint.com/threads/login-and-register-pages-don%E2%80%99t-open.2881556/</guid>
      <author>invalid@example.com (gowlet)</author>
      <dc:creator>gowlet</dc:creator>
      <content:encoded><![CDATA[I am using bedrive php upload script. After activating new member registration from the administrator settings, the /login and /register pages do not open on the site and it shows an error. what should I do?<br />
<br />
I enabled the registration of new members and as a result, the /login and /register pages give an error and cannot log in.]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>Is negative variable equals empty?</title>
      <pubDate>Tue, 01 Oct 2024 09:39:58 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/is-negative-variable-equals-empty.2881369/</link>
      <guid>https://forums.digitalpoint.com/threads/is-negative-variable-equals-empty.2881369/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[if($payment) {<br />
... do this<br />
}<br />
<br />
What if $payment is -5 will it be considered empty?]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>How to protect a site's cookies/sessions from being hijacked?</title>
      <pubDate>Sun, 11 Aug 2024 07:58:49 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-protect-a-sites-cookies-sessions-from-being-hijacked.2881007/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-protect-a-sites-cookies-sessions-from-being-hijacked.2881007/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[Been working on a new site that will use browser&#039;s cookies to log in users. In layman&#039;s terms give me some tips on how to protect site&#039;s cookies/sessions from being hijacked. What are some common practices?]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Need preg_replace help</title>
      <pubDate>Mon, 29 Jul 2024 11:53:32 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/need-preg_replace-help.2880995/</link>
      <guid>https://forums.digitalpoint.com/threads/need-preg_replace-help.2880995/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[I have links that vary and look something like this:<br />
<br />
somesite/articles/25/news/15/1/141720.html<br />
<br />
somesite/articles/10/25/updates/3/1/1413410.html<br />
<br />
somesite/makers/16/11/press/1/7/145623.html<br />
<br />
etc. etc.<br />
<br />
I need to strip / preg_replace everything except these (the html IDs at the end of the links):<br />
<br />
141720.html<br />
1413410.html<br />
145623.html<br />
<br />
etc. etc.<br />
<br />
They always vary too. So... Is there a way? I was thinking stripping everything before the last slash forward, but then what? How do you get those...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/need-preg_replace-help.2880995/" target="_blank" class="internalLink">Need preg_replace help</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>mail() sends with the server email address</title>
      <pubDate>Sun, 28 Jul 2024 08:12:38 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/mail-sends-with-the-server-email-address.2880990/</link>
      <guid>https://forums.digitalpoint.com/threads/mail-sends-with-the-server-email-address.2880990/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[How do I change it to a custom email?<br />
......<br />
mail($user_email, $subj, $msg, $noreply_email, &quot;ISO-8859-1&quot;); <br />
<br />
Instead of sending it with the $noreply_email it sends it with the server email address, something like <span class="emailCrypt" data-anchor="bXlzZXJ2ZXJuYW1lQG15c2VydmUuZG9tYWlubmFtZS5jb20=" data-email="bXlzZXJ2ZXJuYW1lQG15c2VydmUuZG9tYWlubmFtZS5jb20="></span><br />
<br />
Thanks!]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>SQL code question</title>
      <pubDate>Fri, 26 Jul 2024 11:04:52 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/sql-code-question.2880977/</link>
      <guid>https://forums.digitalpoint.com/threads/sql-code-question.2880977/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[Been working on a little search option. When I enter a single word into the search it brings up all the results related to the word. However, with two or more word phrases the search fails to bring up results. The SQL code looks fine to me:<br />
<br />
(a.posttitle LIKE &#039;%$keywords%&#039; OR a.post LIKE &#039;%$keywords%&#039;)<br />
<br />
What could be the problem? The spaces between the words?<br />
<br />
Maybe there&#039;s another way of doing this (instead of LIKE %%)?]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How to run sql every day at midnight for a template script?</title>
      <pubDate>Mon, 22 Jul 2024 12:12:42 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-run-sql-every-day-at-midnight-for-a-template-script.2880942/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-run-sql-every-day-at-midnight-for-a-template-script.2880942/</guid>
      <author>invalid@example.com (FarrisFahad)</author>
      <dc:creator>FarrisFahad</dc:creator>
      <content:encoded><![CDATA[Hello, I am a php developer. I want to know how I can code a template that will be sold on CodeCanyon with running an sql query every day once at midnight.<br />
<br />
I know how to create cronjobs that points to a php script that runs the sql commands. But I don&#039;t want the user to do that every time they want to install the script on their server. I want it to be easy.<br />
<br />
Is there a way I can schedule sql commands?<br />
<br />
I also tried events but you need a dedicated server to enable the scheduler.<br />
<br />
I also am...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-to-run-sql-every-day-at-midnight-for-a-template-script.2880942/" target="_blank" class="internalLink">How to run sql every day at midnight for a template script?</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Redirect via .htaccess</title>
      <pubDate>Mon, 22 Jul 2024 01:43:12 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/redirect-via-htaccess.2880951/</link>
      <guid>https://forums.digitalpoint.com/threads/redirect-via-htaccess.2880951/</guid>
      <author>invalid@example.com (qwikad.com)</author>
      <dc:creator>qwikad.com</dc:creator>
      <content:encoded><![CDATA[So right now I&#039;m redirecting like so:<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">if ($login == &quot;Success&quot;) {
 
echo &#039;&lt;script&gt;location.href = &quot;user_account.php&quot;;&lt;/script&gt;&#039;;

}else{

$err = &quot;some error&quot;;

}</code></pre>
	<div class="type">Code (markup):</div>
</div>It&#039;s sluggish. Takes a couple seconds. I did an html redirect via the header, same thing - sluggish.<br />
<br />
I&#039;d like redirect from login.php (once a user is logged in) to user_account.php via .htaccess. How do I do that? I know how to do a redirect from one file to another, but how do I do the same only after a successful...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/redirect-via-htaccess.2880951/" target="_blank" class="internalLink">Redirect via .htaccess</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>How do PHP developers make money?</title>
      <pubDate>Mon, 08 Jul 2024 10:11:12 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-do-php-developers-make-money.2880876/</link>
      <guid>https://forums.digitalpoint.com/threads/how-do-php-developers-make-money.2880876/</guid>
      <author>invalid@example.com (FarrisFahad)</author>
      <dc:creator>FarrisFahad</dc:creator>
      <content:encoded><![CDATA[I am trying to earn money from my PHP skills. I have tried many ways like selling on Codester and creating a gig on Fiverr. I also have developed my own website and tried to sell a couple on Flippa, but I haven&#039;t made a lot of money.<br />
<br />
How do you guys make money as PHP developers?<br />
<br />
I love building websites from scratch. I am very good with HTML, CSS, JS, PHP and MySQL.<br />
<br />
I want to show you some of my work and you can tell me if I am good enough for the market ...<br />
Here is my portfolio on...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-do-php-developers-make-money.2880876/" target="_blank" class="internalLink">How do PHP developers make money?</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>Which is top programming languages to learn in 2022?</title>
      <pubDate>Thu, 13 Jun 2024 13:42:28 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/which-is-top-programming-languages-to-learn-in-2022.2874268/</link>
      <guid>https://forums.digitalpoint.com/threads/which-is-top-programming-languages-to-learn-in-2022.2874268/</guid>
      <author>invalid@example.com (Julia Johnson)</author>
      <dc:creator>Julia Johnson</dc:creator>
      <content:encoded><![CDATA[There are around 600 programming languages out there. The demand and popularity of programming languages fluctuate every year. Also, new programming languages are coming with attractive features.<br />
So, which programming language should you learn? Learning a new programming language is always an investment of your time and brainpower. If you are a seasoned developer or already know several programming languages, you can learn a niche, modern one.<br />
I proffered this Top 3 Languages one have to...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/which-is-top-programming-languages-to-learn-in-2022.2874268/" target="_blank" class="internalLink">Which is top programming languages to learn in 2022?</a>]]></content:encoded>
      <slash:comments>11</slash:comments>
    </item>
    <item>
      <title>Torrent script made with PHP?</title>
      <pubDate>Thu, 23 May 2024 00:12:23 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/torrent-script-made-with-php.2776037/</link>
      <guid>https://forums.digitalpoint.com/threads/torrent-script-made-with-php.2776037/</guid>
      <author>invalid@example.com (superlocal)</author>
      <dc:creator>superlocal</dc:creator>
      <content:encoded><![CDATA[Hello dear DP members and visitors.<br />
I have been searching for a good torrent script created in php/mysql with xhtml/css and ajax support.<br />
Until now I haven&#039;t find any good script. Maybe someone here knows any good torrent script?<br />
It should be a notice board with lots of torrents and a search function.<br />
Torrents should not be added to the site automatically. It is only the &quot;admin&quot; that should be able to add different torrent via links. It should only contain the links! I want it to be simple....<br />
<br />
<a href="https://forums.digitalpoint.com/threads/torrent-script-made-with-php.2776037/" target="_blank" class="internalLink">Torrent script made with PHP?</a>]]></content:encoded>
      <slash:comments>8</slash:comments>
    </item>
    <item>
      <title>Script Request</title>
      <pubDate>Wed, 03 Jan 2024 23:29:12 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/script-request.2879431/</link>
      <guid>https://forums.digitalpoint.com/threads/script-request.2879431/</guid>
      <author>invalid@example.com (Birdy Num Nums)</author>
      <dc:creator>Birdy Num Nums</dc:creator>
      <content:encoded><![CDATA[Hopefully this is the correct forum to post this... as I couldnt find a section to post &#039;requests&#039;.<br />
<br />
I require a php  script / plugin that does the following  :<br />
<br />
1) Extracts all url links from a webpage via a given url, and stores these links  in a text file…<br />
<br />
then<br />
<br />
2)  reads the above text file, line by line (url by url) and for each url,  scrape the page it&#039;s referring to,  and then create wp posts with the html that has been scraped. Do this for all the urls in the text file.<br />
<br />
So if the...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/script-request.2879431/" target="_blank" class="internalLink">Script Request</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How to fix Optional parameter declared before required parameter?</title>
      <pubDate>Sun, 03 Dec 2023 12:18:59 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-fix-optional-parameter-declared-before-required-parameter.2879062/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-fix-optional-parameter-declared-before-required-parameter.2879062/</guid>
      <author>invalid@example.com (Divvy)</author>
      <dc:creator>Divvy</dc:creator>
      <content:encoded><![CDATA[Can someone help me fix these errors, please?<br />
<br />



<div class="bbCodeBlock bbCodeQuote">
	<aside>
		
		<blockquote class="quoteContainer"><div class="quote">Optional parameter $per_page declared before required parameter $total is implicitly treated as a required parameter<br />
Optional parameter $page declared before required parameter $total is implicitly treated as a required parameter<br />
Optional parameter $url declared before required parameter $total is implicitly treated as a required parameter</div><div class="quoteExpand">Click to expand...</div></blockquote>
	</aside>
</div>Code line:<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">function pagination($per_page = 5, $page = 1, $url = &#039;&#039;, $total)</code></pre>
	<div class="type">Code (markup):</div>
</div>I...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-to-fix-optional-parameter-declared-before-required-parameter.2879062/" target="_blank" class="internalLink">How to fix Optional parameter declared before required parameter?</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Function WP_Scripts::localize was called incorrectly</title>
      <pubDate>Thu, 16 Nov 2023 10:00:36 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/function-wp_scripts-localize-was-called-incorrectly.2879061/</link>
      <guid>https://forums.digitalpoint.com/threads/function-wp_scripts-localize-was-called-incorrectly.2879061/</guid>
      <author>invalid@example.com (Divvy)</author>
      <dc:creator>Divvy</dc:creator>
      <content:encoded><![CDATA[Can someone help me fix this error, please?<br />
I know that the plugin snax is the one responsable, but I don&#039;t know what to look for...<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">    Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. (This message was added in version 5.7.0.)

    WP_Scripts-&gt;localize()
    wp-includes/class-wp-scripts.php:605
    wp_localize_script()...</code></pre>
	<div class="type">Code (markup):</div>
</div><a href="https://forums.digitalpoint.com/threads/function-wp_scripts-localize-was-called-incorrectly.2879061/" target="_blank" class="internalLink">Function WP_Scripts::localize was called incorrectly</a>]]></content:encoded>
    </item>
    <item>
      <title>Code with problems after PHP update from 7.4 to 8.1</title>
      <pubDate>Thu, 16 Nov 2023 09:58:29 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/code-with-problems-after-php-update-from-7-4-to-8-1.2879056/</link>
      <guid>https://forums.digitalpoint.com/threads/code-with-problems-after-php-update-from-7-4-to-8-1.2879056/</guid>
      <author>invalid@example.com (Divvy)</author>
      <dc:creator>Divvy</dc:creator>
      <content:encoded><![CDATA[This code was working fine with PHP 7.4:<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">(...)
@update_post_meta($post-&gt;ID, &#039;discount-extra-site&#039;, array_map( &#039;strip_tags&#039;, $_POST[&#039;discount-extra-site&#039;] ) );
    (...)
    &lt;option value=&quot;&lt;?php the_ID(); ?&gt;&quot; &lt;?php if (is_array($sites_discounted) &amp;&amp; in_array(get_the_ID(), $sites_discounted)) { echo &quot;selected&quot;; } ?&gt;&gt;&lt;?php the_title(); ?&gt;&lt;/option&gt;
(...)</code></pre>
	<div class="type">Code (markup):</div>
</div>But the update_post_meta is not working so well after upgrade to PHP 8.1<br />
<br />
I mean, it saves if I add some data, but if I want to...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/code-with-problems-after-php-update-from-7-4-to-8-1.2879056/" target="_blank" class="internalLink">Code with problems after PHP update from 7.4 to 8.1</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Should I create a project using Laravel Spade?</title>
      <pubDate>Sun, 10 Sep 2023 16:42:21 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/should-i-create-a-project-using-laravel-spade.2878485/</link>
      <guid>https://forums.digitalpoint.com/threads/should-i-create-a-project-using-laravel-spade.2878485/</guid>
      <author>invalid@example.com (Anowar98)</author>
      <dc:creator>Anowar98</dc:creator>
      <content:encoded><![CDATA[I&#039;ve read a article about Laravel Splade at: https://larabangla.com/splade/1x/introduction/what-is-laravel-splade<br />
Should I create a project using Laravel Spade?]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>problem with update</title>
      <pubDate>Wed, 23 Aug 2023 05:34:31 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/problem-with-update.2877446/</link>
      <guid>https://forums.digitalpoint.com/threads/problem-with-update.2877446/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[I want to update database table CERTTBL from a form. I only enter the UNIT and DAYSLEFT as I only<br />
want to update the daysleft of that unit. Please explain the result?<br />
------------------------------------------------------------<br />
&lt;?php<br />
$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;homedb&quot;);<br />
// Check connection<br />
if($link === false){ die(&quot;ERROR: Could not connect. &quot; . mysqli_connect_error()); }<br />
<br />
echo &quot;&lt;center&gt;&quot;;echo date(&#039;m/d/y&#039;);echo &quot;&lt;br /&gt;&quot;;<br />
<br />
$unit=$_POST[&#039;unit&#039;];<br />
$tenant=$_POST[&#039;tenant&#039;];...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/problem-with-update.2877446/" target="_blank" class="internalLink">problem with update</a>]]></content:encoded>
      <slash:comments>9</slash:comments>
    </item>
    <item>
      <title>Filtering input for security</title>
      <pubDate>Fri, 19 May 2023 15:01:36 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/filtering-input-for-security.2875996/</link>
      <guid>https://forums.digitalpoint.com/threads/filtering-input-for-security.2875996/</guid>
      <author>invalid@example.com (FarrisFahad)</author>
      <dc:creator>FarrisFahad</dc:creator>
      <content:encoded><![CDATA[So I am trying to make my website more secure. Is using htmlspecialchars and htmlentities enough? And should I filter output or just input?]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>help w/else</title>
      <pubDate>Fri, 19 May 2023 14:28:38 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/help-w-else.2870406/</link>
      <guid>https://forums.digitalpoint.com/threads/help-w-else.2870406/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[I finally got the error checks figured out. One character blew me out.<br />
syntax is killing me, thanks so much for your efforts.<br />
Now I&#039;m stumbling over else statements. I am googling and checking others<br />
but could use some suggestions. The &quot;else&quot; code I&#039;m having trouble with ?<br />
=================================================================<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;input type=&#039;submit&#039; name=&#039;update&#039; value=&#039;Update Record&#039; /&gt;
else{echo &quot;No listing for apartment $unit.&lt;br /&gt;Please select another.&lt;br /&gt;&quot;;}
}...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/help-w-else.2870406/" target="_blank" class="internalLink">help w/else</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Am I the only one annoyed at the PHP changes?</title>
      <pubDate>Fri, 19 May 2023 14:12:57 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/am-i-the-only-one-annoyed-at-the-php-changes.2877544/</link>
      <guid>https://forums.digitalpoint.com/threads/am-i-the-only-one-annoyed-at-the-php-changes.2877544/</guid>
      <author>invalid@example.com (David26)</author>
      <dc:creator>David26</dc:creator>
      <content:encoded><![CDATA[I was a highly regarded PHP developer way back in the days when we wrote entire websites and scripts from scratch.  I got out once every client asked me to work on their framework where I had to memorize the custom functions they used with tons of clutter and way too many lines of code to do simple tasks that I could fit on two lines instead of 50.  Not to mention now you can Google search how to code pretty much anything.  I completely changed careers but now I have a ton of free time and...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/am-i-the-only-one-annoyed-at-the-php-changes.2877544/" target="_blank" class="internalLink">Am I the only one annoyed at the PHP changes?</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>How to create Help Desk System</title>
      <pubDate>Mon, 01 May 2023 03:34:04 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-create-help-desk-system.2871548/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-create-help-desk-system.2871548/</guid>
      <author>invalid@example.com (Yakov Cohen)</author>
      <dc:creator>Yakov Cohen</dc:creator>
      <content:encoded><![CDATA[Hello everybody! I am building an online store and I need help. I have a user database system on my site.<br />
<br />
I want to create a support system with tickets. Like this https://codeshack.io/ticketing-system-php-mysql/ .<br />
<br />
I copied this script and upload to local server ( I use XAMPP ). Everything is working, but...<br />
I cannot connect this script to my site...<br />
<br />
I will be cool if somebody can help.<br />
Here&#039;s an example of how this should work :<br />
<br />
<b>Client Side :</b><br />
- The person opens the support page....<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-to-create-help-desk-system.2871548/" target="_blank" class="internalLink">How to create Help Desk System</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>PHP Web Site Counter?</title>
      <pubDate>Fri, 14 Apr 2023 22:28:27 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/php-web-site-counter.2877256/</link>
      <guid>https://forums.digitalpoint.com/threads/php-web-site-counter.2877256/</guid>
      <author>invalid@example.com (HarryA)</author>
      <dc:creator>HarryA</dc:creator>
      <content:encoded><![CDATA[Greetings from Pennsylvania. I am trying to add a counter to a web page<br />
but it is not cooperating!<br />
Directions are: place the count.php file and the hitcount.txt file on the server in the<br />
same directory as the web page. hitcount.txt file should contain a value like zero.<br />
For the include in the web page I use:<br />
<br />
&lt;div class=&quot;footnote&quot;&gt;<br />
&lt;?php include‘count.php’; ?&gt;<br />
&lt;/div&gt;<br />
<br />
Things I have tried: change permissions on both files to 777. Change the web site<br />
file extension to stml from html. The error...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/php-web-site-counter.2877256/" target="_blank" class="internalLink">PHP Web Site Counter?</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>questions about mysqli displaying variables</title>
      <pubDate>Thu, 13 Apr 2023 14:54:35 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/questions-about-mysqli-displaying-variables.2877327/</link>
      <guid>https://forums.digitalpoint.com/threads/questions-about-mysqli-displaying-variables.2877327/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[My project seems simple, update a couple of database tables, one from a little form, print a receipt<br />
and echo out the receipt# and other values. The updates work but the values echoed are wrong or<br />
absent. Cmon brave souls, tell me what I&#039;m doin rong.<br />
<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;!DOCTYPE html&gt;&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;record payment&lt;/title&gt;
&lt;html&gt;&lt;head&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var monthNames = [ &quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,
  &quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/questions-about-mysqli-displaying-variables.2877327/" target="_blank" class="internalLink">questions about mysqli displaying variables</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>not updating</title>
      <pubDate>Fri, 07 Apr 2023 15:28:02 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/not-updating.2877279/</link>
      <guid>https://forums.digitalpoint.com/threads/not-updating.2877279/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[This code is just to update the receiptno by adding 1 and displaying the value of receiptno.<br />
The only prob, it does neither.?? says &quot;updated but NOT<br />
<br />
&lt;?php<br />
$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;homedb&quot;);<br />
// Check connection<br />
if($link === false){ die(&quot;ERROR: Could not connect. &quot; . mysqli_connect_error()); }<br />
<br />
$id = &#039;id&#039;;<br />
$receiptno=&#039;&#039;;<br />
<br />
/* Perform a query, check for error */<br />
$sql = &quot;UPDATE control SET<br />
receiptno = &#039;$receiptno&#039; + 1 where id=&#039;$id&#039;&quot;;<br />
echo $receiptno;...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/not-updating.2877279/" target="_blank" class="internalLink">not updating</a>]]></content:encoded>
      <slash:comments>8</slash:comments>
    </item>
    <item>
      <title>I NEED ADVICE WITH PHP UPDATE</title>
      <pubDate>Fri, 31 Mar 2023 16:05:53 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/i-need-advice-with-php-update.2877219/</link>
      <guid>https://forums.digitalpoint.com/threads/i-need-advice-with-php-update.2877219/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi guys, the project is to record a payment from a form, and print a receipt. Prob is no receipt,<br />
no balance due, no error message is displayed, the paidday is entered in several records as &quot;pa&quot;<br />
and all &quot;amtpaid&quot; are cleared. A little help!<br />
==============================<br />
THE CODE:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;?php
$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;homedb&quot;);
// Check connection
if($link === false){ die(&quot;ERROR: Could not connect. &quot; . mysqli_connect_error()); }
//MySqli Select Query
$sql = &quot;select...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/i-need-advice-with-php-update.2877219/" target="_blank" class="internalLink">I NEED ADVICE WITH PHP UPDATE</a>]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>help with mysqli insert</title>
      <pubDate>Tue, 28 Mar 2023 11:48:57 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/help-with-mysqli-insert.2877082/</link>
      <guid>https://forums.digitalpoint.com/threads/help-with-mysqli-insert.2877082/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, I hopd someone will advise me as to where I&#039;m going astray here. I&#039;m trying to insert using PHP<br />
mysqli, using a form locally (&lt;a href=&quot;waitinsert-form.html&quot;&gt;. Following is<br />
the code for the form (is the form flawed?) followed by the code for the insert.<br />
I have tried following several online examples with no success.<br />
-------------------------------------------------<br />
the code for the form:<br />
&lt;HTML&gt;&lt;HEAD&gt;<br />
&lt;STYLE type=text/css&gt;.highlight {<br />
   BACKGROUND: #ff6699<br />
}<br />
.text {<br />
   COLOR: #ffffff<br />
}...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/help-with-mysqli-insert.2877082/" target="_blank" class="internalLink">help with mysqli insert</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>problem with update</title>
      <pubDate>Tue, 28 Mar 2023 02:15:06 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/problem-with-update.2877216/</link>
      <guid>https://forums.digitalpoint.com/threads/problem-with-update.2877216/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, I&#039;m trying to refresh all records with values in the &quot;amtpaid&quot; field.<br />
Someone advise why the error?<br />
==========================================================================<br />
the code:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Refresh payment database file&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php
/* Attempt MySQL server connection. Assuming you are running MySQL
server with default setting (user &#039;root&#039; with no password) */
$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;homedb&quot;);
// Check connection...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/problem-with-update.2877216/" target="_blank" class="internalLink">problem with update</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>12 vulnerabilities detected in webmaster tool</title>
      <pubDate>Mon, 20 Mar 2023 11:31:25 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/12-vulnerabilities-detected-in-webmaster-tool.2876994/</link>
      <guid>https://forums.digitalpoint.com/threads/12-vulnerabilities-detected-in-webmaster-tool.2876994/</guid>
      <author>invalid@example.com (Sabir Hussain)</author>
      <dc:creator>Sabir Hussain</dc:creator>
      <content:encoded><![CDATA[What are the recommended methods for securing a PHP site in light of the 12 vulnerabilities that were recently detected while doing audit of my site? <br />
Are there any specific PHP security tools or techniques that we should consider implementing to address these vulnerabilities and prevent future security breaches? <br />
Any insights or recommendations from experienced PHP developers would be greatly appreciated.]]></content:encoded>
      <slash:comments>7</slash:comments>
    </item>
    <item>
      <title>strange results</title>
      <pubDate>Sat, 18 Mar 2023 04:43:42 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/strange-results.2877113/</link>
      <guid>https://forums.digitalpoint.com/threads/strange-results.2877113/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, Please help! I have a localhost folder, in xampp/htdocs/ which has both a php file (payment.php) and a<br />
html file (sysnav.html). The sysnav file includes a statement,<br />
&lt;a href=&quot;http://localhost/kirkplace/payment.php&quot;&gt;. The prob is that the file displayed is a previous<br />
html file named payment.html. I have cleared cache, system restore, checked for and deleted any and all<br />
other payment files and kirkplace folders. I still can&#039;t access the current payment.php.]]></content:encoded>
    </item>
    <item>
      <title>need help with pdo</title>
      <pubDate>Sat, 04 Mar 2023 22:58:02 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/need-help-with-pdo.2876953/</link>
      <guid>https://forums.digitalpoint.com/threads/need-help-with-pdo.2876953/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, my first attempt at pdo, will someone tell me where I went astray?<br />
--------------------------------------------------------------------------<br />
the code:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;?php
$host = &#039;127.0.0.1&#039;;
$db  = &#039;homedb&#039;;
$user = &#039;root&#039;;
$pass = &#039;&#039;;
$charset = &#039;utf8mb4&#039;;

$dsn = &quot;mysql:host=$host;dbname=$db;charset=$charset&quot;;
$options = [
  PDO::ATTR_ERRMODE  =&gt; PDO::ERRMODE_EXCEPTION,
  PDO::ATTR_DEFAULT_FETCH_MODE =&gt; PDO::FETCH_ASSOC,
  PDO::ATTR_EMULATE_PREPARES  =&gt; false,
];
try {
  $pdo = new PDO($dsn,...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/need-help-with-pdo.2876953/" target="_blank" class="internalLink">need help with pdo</a>]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How do I convert this working code on Windows to Linux?</title>
      <pubDate>Fri, 24 Feb 2023 17:59:05 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-do-i-convert-this-working-code-on-windows-to-linux.2799182/</link>
      <guid>https://forums.digitalpoint.com/threads/how-do-i-convert-this-working-code-on-windows-to-linux.2799182/</guid>
      <author>invalid@example.com (stylusss)</author>
      <dc:creator>stylusss</dc:creator>
      <content:encoded><![CDATA[I&#039;ve been trying to figure this out for the life of me: I asked the question on stackoverflow, but they weren&#039;t able to help:<br />
<br />
http://stackoverflow.com/questions/42967583/executing-a-linux-program-from-php<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">&lt;?php

$file = &#039;C:\xampp\htdocs\SMF\sdsdssss.docx&#039;;

$content = exec( &#039;C:\xampp\htdocs\SMF\doctotext\doctotext.exe /c &#039;. $file , $output );

var_dump( $output );</code></pre>
	<div class="type">Code (markup):</div>
</div>How do I write this code on a linux server (Centos x86_64)?<br />
<br />
I&#039;m using this free software:...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/how-do-i-convert-this-working-code-on-windows-to-linux.2799182/" target="_blank" class="internalLink">How do I convert this working code on Windows to Linux?</a>]]></content:encoded>
      <slash:comments>15</slash:comments>
    </item>
    <item>
      <title>why the result</title>
      <pubDate>Tue, 21 Feb 2023 22:29:25 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/why-the-result.2876821/</link>
      <guid>https://forums.digitalpoint.com/threads/why-the-result.2876821/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, please tell me why the result<br />
--------------------------------<br />
the code:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;?php
$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;homedb&quot;);
// Check connection
if($link === false){ die(&quot;ERROR: Could not connect. &quot; . mysqli_connect_error()); }

//MySqli Select Query
$results = mysqli_query($link, &quot;SELECT `id`, `expiry` FROM `ctltbl`&quot;);

$row = $results-&gt;fetch_row();

$id = $row[0];
$expiry = (int) $row[1];

if ($expiry &gt; 0) {
  $sql = &quot;UPDATE `ctltbl` SET `expiry` = $expiry - 1 where...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/why-the-result.2876821/" target="_blank" class="internalLink">why the result</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>help with</title>
      <pubDate>Mon, 20 Feb 2023 03:01:10 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/help-with.2876819/</link>
      <guid>https://forums.digitalpoint.com/threads/help-with.2876819/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, will someone tell me why I get the results I do? Thanks.<br />
the code:<br />
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;<br />
&lt;html&gt;<br />
&lt;HEAD&gt;<br />
&lt;/HEAD&gt;&lt;body&gt;&lt;center&gt;&lt;b&gt;&lt;i&gt;<br />
&lt;font size=+3 color=red&gt;<br />
Have you turned on the sytem?&lt;/font&gt;&lt;/i&gt;&lt;p&gt;<br />
&lt;a href=&quot;startover.html&quot;&gt;&lt;img src=&quot;nobutton.png&quot;&gt;&lt;/a&gt;<br />
&lt;a href=&quot;expiration.php&quot;&gt;&lt;img src=&quot;yesbutton.png&quot;&gt;&lt;/a&gt;<br />
&lt;/font&gt;&lt;/body&gt;&lt;/html&gt;<br />
------------------------------------------------------------------<br />
the results:...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/help-with.2876819/" target="_blank" class="internalLink">help with</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>need a little help with php or css</title>
      <pubDate>Thu, 16 Feb 2023 20:43:55 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/need-a-little-help-with-php-or-css.2876734/</link>
      <guid>https://forums.digitalpoint.com/threads/need-a-little-help-with-php-or-css.2876734/</guid>
      <author>invalid@example.com (dGarden)</author>
      <dc:creator>dGarden</dc:creator>
      <content:encoded><![CDATA[Hello friends<br />
I hope you are all well. <span class="smileWrapper"><img src="styles/default/xenforo/clear.png" class="mceSmilieSprite mceSmilie1" alt=":)" title="Smile    :)" /></span><br />
I need a little help from you if you are familiar with css or PhP. <br />
I needed a grid display component for my site, and after searching I found a suitable one and installed it. Now the problem is that after activating the module related to this component on any page, the menu at the top of my site stops working. It means that there is an interference between the grid component and the menu. If I disable the grid module, the menu works again without...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/need-a-little-help-with-php-or-css.2876734/" target="_blank" class="internalLink">need a little help with php or css</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>PHP Loop Issue</title>
      <pubDate>Sun, 29 Jan 2023 17:17:47 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/php-loop-issue.2876599/</link>
      <guid>https://forums.digitalpoint.com/threads/php-loop-issue.2876599/</guid>
      <author>invalid@example.com (Jeremy Benson)</author>
      <dc:creator>Jeremy Benson</dc:creator>
      <content:encoded><![CDATA[I&#039;m having trouble with fetching some chat logs. I&#039;m getting some repeated code in my output. &#039;m not sure why. closeForm() and Chat is repeating throughout. It should just be making the messages.<br />
<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">&lt;?php

session_start();
$rawData = file_get_contents(&quot;php://input&quot;);
$data = [];
parse_str($rawData, $data);
$returnMessage = [];
include &quot;../classes/RandomHelper.php&quot;;

if (
    isset($_SESSION[&quot;ID&quot;]) &amp;&amp;
    isset($_SESSION[&quot;token&quot;]) &amp;&amp;
    isset($_SESSION[&quot;serial&quot;])
) {
    include __DIR__...</code></pre>
	<div class="type">Code (markup):</div>
</div><a href="https://forums.digitalpoint.com/threads/php-loop-issue.2876599/" target="_blank" class="internalLink">PHP Loop Issue</a>]]></content:encoded>
    </item>
    <item>
      <title>How to hide a section when having no content?</title>
      <pubDate>Fri, 27 Jan 2023 10:49:22 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-hide-a-section-when-having-no-content.2876530/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-hide-a-section-when-having-no-content.2876530/</guid>
      <author>invalid@example.com (Divvy)</author>
      <dc:creator>Divvy</dc:creator>
      <content:encoded><![CDATA[Hey, can someone help me with this?<br />
<br />
I use this code in the single.php file of WordPress:<br />
<a href="https://paste2.org/weBNh8NI" target="_blank" class="externalLink" rel="nofollow">https://paste2.org/weBNh8NI</a><br />
<br />
The most important code line is this:<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">&lt;?php if ( function_exists( &#039;echo_ald_crp&#039; ) ) echo_ald_crp(); ?&gt;</code></pre>
	<div class="type">Code (markup):</div>
</div>This code will show related posts in a specific section of my site.<br />
I want to hide the section when there is no content to show: <br />
<a href="https://prnt.sc/opECWw4rK2zF" target="_blank" class="externalLink" rel="nofollow">https://prnt.sc/opECWw4rK2zF</a><br />
<br />
Is it possible?<br />
<br />
Thank you in advance!]]></content:encoded>
      <slash:comments>11</slash:comments>
    </item>
    <item>
      <title>Opencart Two Columns Product View in Small Device - Need Help</title>
      <pubDate>Sat, 21 Jan 2023 06:08:36 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/opencart-two-columns-product-view-in-small-device-need-help.2876538/</link>
      <guid>https://forums.digitalpoint.com/threads/opencart-two-columns-product-view-in-small-device-need-help.2876538/</guid>
      <author>invalid@example.com (seomanualsubmission)</author>
      <dc:creator>seomanualsubmission</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
<br />
I just want to show my products in two column like below in small devices ....... my website is <a href="https://hopniche.com/" target="_blank" class="externalLink" rel="nofollow">https://hopniche.com/</a><br />
<img src="proxy/tHHuUDkNX%2BhWHeBVmUwXuat%2B52%2BQ0NpAjvEzirDcvABURVe%2Fnb3ilLgp7K6X8JImYD0%2Ft8G4STubePdEMcoS08hKbNu%2FpzkrTlmuZFA%3D/image.png" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="https://i.ibb.co/Sr3vqvz/barndatt.png" /><br />
<br />
I search online and change few things in code at <b>catalog/view/javascript/common.js </b>(Col-sm and col-xs in code 12 to 6)<br />





<div class="bbCodeBlock bbCodeCode">
	<pre class="line-numbers"><code class="language-markup" data-start="1">    $(&#039;#grid-view&#039;).click(function() {
        // What a shame bootstrap does not take into account dynamically loaded columns
        cols = $(&#039;#column-right,...</code></pre>
	<div class="type">Code (markup):</div>
</div><a href="https://forums.digitalpoint.com/threads/opencart-two-columns-product-view-in-small-device-need-help.2876538/" target="_blank" class="internalLink">Opencart Two Columns Product View in Small Device - Need Help</a>]]></content:encoded>
    </item>
    <item>
      <title>need help with pagination</title>
      <pubDate>Wed, 11 Jan 2023 03:47:45 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/need-help-with-pagination.2876088/</link>
      <guid>https://forums.digitalpoint.com/threads/need-help-with-pagination.2876088/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, can someone advise me as to why I get this error? thanks<br />
<br />
the code:<br />
<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;html&gt;
&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;center&gt;
&lt;div class=&quot;display print&quot;&gt;

&lt;?php
//Open a new connection to the MySQL server
$link = mysqli_connect(&quot;localhost&quot;, &quot;root&quot;, &quot;&quot;, &quot;homedb&quot;);

// Check connection
if($link === false){ die(&quot;ERROR: Could not connect. &quot; . mysqli_connect_error()); }
echo date(&#039;m/d/y&#039;);

//MySqli Select Query
$sql = &quot;select * FROM paytbl&quot;;
$result = mysqli_query($link,$sql);
if (!$result) {...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/need-help-with-pagination.2876088/" target="_blank" class="internalLink">need help with pagination</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>Php script</title>
      <pubDate>Mon, 09 Jan 2023 08:10:08 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/php-script.2876429/</link>
      <guid>https://forums.digitalpoint.com/threads/php-script.2876429/</guid>
      <author>invalid@example.com (ssimon171078)</author>
      <dc:creator>ssimon171078</dc:creator>
      <content:encoded><![CDATA[i have text :<br />
You, +1 (212) 202-8668, +1 (251) 480-2453, +1 (365) 360-0641, +1 (365) 400-5094<br />
i need to receive <br />
+1 (212) 202-8668<br />
+1 (251) 480-2453,<br />
+1 (365) 360-0641<br />
i  started to write php code how to change this code to receive this result ?<br />
&lt;?php<br />
<br />
$filename=&quot;r1.txt&quot;;<br />
$fd=fopen($filename,&quot;r&quot;);<br />
<br />
$fp = fopen($filename, &quot;r&quot;);<br />
<br />
if(filesize($filename) &gt; 0){<br />
  $content = fread($fp, filesize($filename));<br />
  echo $content .&quot;\n&quot;;<br />
  echo &quot;\r&quot;;<br />
  fclose($fp);<br />
}<br />
<br />
<br />
<br />
<br />
?&gt;]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Parse error: syntax error</title>
      <pubDate>Fri, 06 Jan 2023 21:33:05 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/parse-error-syntax-error.2876420/</link>
      <guid>https://forums.digitalpoint.com/threads/parse-error-syntax-error.2876420/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[The objective is to add past month&#039;s payments to payment history table, refresh payment table at end of month for tenants who have paid and advance datedue 1 month,<br />
code:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;?php
$servername = &quot;localhost&quot;;
$username = &quot;root&quot;;
$password = &quot; &quot;;
$dbname = &quot;homedb&quot;;

try {
$conn = new PDO(&quot;mysql:host=$servername;dbname=$dbname&quot;, $username, $password);
  // set the PDO error mode to exception
  $conn-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  $sql = &quot;INSERT INTO payhist...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/parse-error-syntax-error.2876420/" target="_blank" class="internalLink">Parse error: syntax error</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Programming To Extract ePins From Google Docs Sheets</title>
      <pubDate>Tue, 20 Dec 2022 21:21:48 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/programming-to-extract-epins-from-google-docs-sheets.2871900/</link>
      <guid>https://forums.digitalpoint.com/threads/programming-to-extract-epins-from-google-docs-sheets.2871900/</guid>
      <author>invalid@example.com (cashgen)</author>
      <dc:creator>cashgen</dc:creator>
      <content:encoded><![CDATA[Is it possible to program to regularly extract some figures(epins) from a google docs file unto a spreadsheet? The epins are usually scattered and enclosed within some descriptive data on the google docs sheet.<br />
<br />
Currently, i insert the epins manually unto a spreadsheet for uploading as csv which is quite time consuming and not economical. I can not use API for now as i am not yet such a big player in the market that will enable me link to a main source.<br />
<br />
I intend to regularly scan some hard...<br />
<br />
<a href="https://forums.digitalpoint.com/threads/programming-to-extract-epins-from-google-docs-sheets.2871900/" target="_blank" class="internalLink">Programming To Extract ePins From Google Docs Sheets</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Decoding for money php</title>
      <pubDate>Mon, 12 Dec 2022 11:52:33 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/decoding-for-money-php.2876096/</link>
      <guid>https://forums.digitalpoint.com/threads/decoding-for-money-php.2876096/</guid>
      <author>invalid@example.com (qlooop)</author>
      <dc:creator>qlooop</dc:creator>
      <content:encoded><![CDATA[<b><span style="color: rgb(255, 0, 0)">Hi friends</span><br />
<br />
<span style="color: #0000ff"> I want to decrypt it. Who can</span><br />
<span style="color: #ff0000"><br />
</span><br />
<span style="color: rgb(255, 0, 0)">




<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;?php //0046a
if(!extension_loaded(&#039;ionCube Loader&#039;)){$__oc=strtolower(substr(php_uname(),0,3));$__ln=&#039;ioncube_loader_&#039;.$__oc.&#039;_&#039;.substr(phpversion(),0,3).(($__oc==&#039;win&#039;)?&#039;.dll&#039;:&#039;.so&#039;);if(function_exists(&#039;dl&#039;)){@dl($__ln);}if(function_exists(&#039;_il_exec&#039;)){return...</code></pre>
	<div class="type">PHP:</div>
</div></span></b><br />
<br />
<a href="https://forums.digitalpoint.com/threads/decoding-for-money-php.2876096/" target="_blank" class="internalLink">Decoding for money php</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>PHP Framework</title>
      <pubDate>Sat, 19 Nov 2022 13:08:22 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/php-framework.2872872/</link>
      <guid>https://forums.digitalpoint.com/threads/php-framework.2872872/</guid>
      <author>invalid@example.com (Kuribayori)</author>
      <dc:creator>Kuribayori</dc:creator>
      <content:encoded><![CDATA[Guys who have tried the Laravel framework, is it worth starting to study it or is Yii2 better?]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>how to use on-click</title>
      <pubDate>Wed, 28 Sep 2022 16:28:58 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/how-to-use-on-click.2875454/</link>
      <guid>https://forums.digitalpoint.com/threads/how-to-use-on-click.2875454/</guid>
      <author>invalid@example.com (pshaw)</author>
      <dc:creator>pshaw</dc:creator>
      <content:encoded><![CDATA[Hi, a little help, please. I have been using:<br />
<br />
onclick=&quot;gotolink()<br />
in an html program to keep show passwords, click on the button and go to the url.<br />
<br />
This BELOW code selects a record from a database table and updates the date visited and times visited.<br />
I want to use the onclick here to go to the url also.<br />
<br />
the code:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">&lt;!DOCTYPE&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;email menu&lt;/title&gt;&lt;/head&gt;
&lt;body&gt;&lt;center&gt;
&lt;form name=&quot;form&quot; method=&quot;post&quot; action=&quot;&quot;&gt;
&lt;?php
$con=mysqli_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;,&quot;homedb&quot;);...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/how-to-use-on-click.2875454/" target="_blank" class="internalLink">how to use on-click</a>]]></content:encoded>
      <slash:comments>28</slash:comments>
    </item>
    <item>
      <title>Display name instead of id</title>
      <pubDate>Thu, 01 Sep 2022 00:17:38 +0000</pubDate>
      <link>https://forums.digitalpoint.com/threads/display-name-instead-of-id.2875371/</link>
      <guid>https://forums.digitalpoint.com/threads/display-name-instead-of-id.2875371/</guid>
      <author>invalid@example.com (neilfurry)</author>
      <dc:creator>neilfurry</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
<br />
Im working with symfony framework and need help.<br />
<br />
I have two entities: Members and Loans.<br />
<br />
So basically Each Member will have many loans. These are the entities i created:<br />





<div class="bbCodeBlock bbCodePHP">
	<pre class="line-numbers"><code class="language-php" data-start="1">
namespace App\Entity;

use App\Repository\LoansRepository;
use Doctrine\ORM\Mapping as ORM;

/**
* @ORM\Entity(repositoryClass=LoansRepository::class)
*/
class Loans
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type=&quot;integer&quot;)
     */
    private $id;

    /**
     *...</code></pre>
	<div class="type">PHP:</div>
</div><a href="https://forums.digitalpoint.com/threads/display-name-instead-of-id.2875371/" target="_blank" class="internalLink">Display name instead of id</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
  </channel>
</rss>
