8,968 Posted Topics

Member Avatar for blud
Member Avatar for SCBWV
2
178
Member Avatar for Vandiun

You're querying over an entire year. *If* this is the point of your query, I would add an extra indexed column to my orders table called `year INT` and filter on that. Should be much quicker than using a `BETWEEN` on a date column.

Member Avatar for DGPickett
2
165
Member Avatar for KomalBhatt
Member Avatar for mr_johnseo
Member Avatar for NAFISUL

Why start with Python if your study uses C#/.NET? Microsoft Learn has a lot of courses for you to take (for free).

Member Avatar for jkon
0
130
Member Avatar for John_385

Is support not responding to your questions? What errors are you getting?

Member Avatar for AndreRet
1
77
Member Avatar for Irata001
Member Avatar for rproffitt
Member Avatar for Hasan_25
2
287
Member Avatar for johanwillman7
Member Avatar for davidvkimball
Member Avatar for lma2lke8
Member Avatar for chiloc
Member Avatar for Mindmade
Member Avatar for pritaeas
-2
23
Member Avatar for MD.MEHEDI_1
Member Avatar for Annabelle_1
Member Avatar for Gulshan_6
Member Avatar for AndreRet
1
159
Member Avatar for Zazy

> my code below doesn't work How exactly do you want it to work? Isn't there a MenuItemOpened event you can use?

Member Avatar for fenichitofelini
0
145
Member Avatar for andras_2
Member Avatar for tarun Nagar
Member Avatar for masonrose
Member Avatar for asifdaud2019
Member Avatar for Ikbal_1
Member Avatar for Amit_108

You'll need some variables for the total count, the subtotal count and to detect whether the customer ID has changed. I suggest you try first and reply when you encounter any further problems.

Member Avatar for Santanu.Das
0
164
Member Avatar for shikshashivhare
Member Avatar for ᴇXᴄᴀLɪʙ
Member Avatar for Mindmade
Member Avatar for Mindmade

Mine would be the API's where the developers do not understand that there is a need for service-to-service applications.

Member Avatar for pritaeas
-1
74
Member Avatar for borobhaisab
Member Avatar for borobhaisab

If you `echo` the value of `$path`, what does it show? Is it perhaps an URL instead of a path? Have a look at the `parse_url` function. You can use that to extract the path from an URL before you try to get the extension.

Member Avatar for borobhaisab
0
91
Member Avatar for uslivjunoji
Member Avatar for inkabi
Member Avatar for borobhaisab

You need to understand that even though `mysqli_stmt_execute` might return `true`, `mysqli_stmt_affected_rows` can return `0`. Whether this is a failure or not, depends on your business logic. Suppose you want to update based on a unique ID, you could check whether `mysqli_stmt_affected_rows` equals `1`. If it returns `0` the ID …

Member Avatar for pritaeas
0
215
Member Avatar for borobhaisab

Q1: True, but only visible in the examples: https://www.php.net/mysqli_stmt_store_result Q2: True, implicitly mentioned here: https://www.php.net/manual/en/mysqli-stmt.free-result.php "Frees the result memory associated with the statement, which was allocated by mysqli_stmt_store_result()." It is a rule of thumb in most languages that you should free/release what you allocate. Q3: Why do you say "I …

Member Avatar for pritaeas
0
52
Member Avatar for Mark_136
Member Avatar for Dani

When I was still using PHP (years ago) I used Laravel. IMO it's a well designed framework. If I had to do serious PHP programming I'd choose it again. That being said, I have no idea if changing from CI3 to Laravel is straightforward as I have never used CI.

Member Avatar for pritaeas
0
103
Member Avatar for arcon

On line 21 `encontrado` is always set to `True`, so the `If` on line 36 will always be `False`.

Member Avatar for pritaeas
0
131
Member Avatar for Roger Carlos
Member Avatar for nilaniraj
Member Avatar for Aya_962
Member Avatar for carlojay94
Member Avatar for leejohn63
Member Avatar for borobhaisab

Your query is always counting all points in a record, but shouldn't it only count those with a matching keyword?

Member Avatar for Dani
0
206
Member Avatar for johnwilliam1
Member Avatar for harryjohnson
Member Avatar for maeganbriones
Member Avatar for bromehedi000
Member Avatar for dipakbh0322
Member Avatar for Gavra Meads
Member Avatar for wo6q34s
Member Avatar for Louiseinvictor

The End.