-
Posts
253 -
Joined
-
Last visited
-
Days Won
4
Everything posted by dodgeitorelse3
-
I think you need a semi colon at end of $stmt=$db->stmt_init() $stmt=$db->stmt_init();
-
PHP Form Won't Send - Missing PHP for Submit Button
dodgeitorelse3 replied to Lanxalot's topic in PHP Coding Help
Do you get any errors? What isn't working? Where is the_permalink() defined at? When submitted what do you see? -
Although your pages have long <?PHP tags I think you also need to changes short tags I see in your code such as See the short tags just before $StartDate?
-
include a php code within a forum description
dodgeitorelse3 replied to Berserk's topic in PHP Coding Help
It looks like OP is wanting to show current server data in a forum. The image OP posted is from a game server query I think. Very similar to the game server queries I run on my site except I don't display results in a forum. -
Isn't $row[id] php code that is trying to be used in a js file?
-
Trying to access array of offset with if statement
dodgeitorelse3 replied to PNewCode's topic in PHP Coding Help
I didn't ask what was passed. I asked what the actual column name is in your database table. -
Trying to access array of offset with if statement
dodgeitorelse3 replied to PNewCode's topic in PHP Coding Help
is your database table column named myid or id? -
I stand corrected. I see the link for phpinfo now. That shows that you have mysqlnd enabled and it is version 7.4.33 and your mysqli version is 5.7.42
-
I see where you got info from phpmyadmin and from godaddy cpanel but not from phpinfo. phpinfo will tell you a lot more of what ytou have running.
-
Have you tried putting this code into a php file and running it to see what you have? <?php // Show all information, defaults to INFO_ALL phpinfo(); ?> in your web browser use edit/find in page and search for mysqlnd. That would be for firefox browser. Chrome browser would be search/find
-
Could really use some basic assistance, please!
dodgeitorelse3 replied to WorldwideGaming's topic in PHP Coding Help
changing your code from php short tag to <?php and then adding error reporting and display errors as such displays <?php error_reporting(E_ALL); ini_set('display_errors', '1'); Warning: require_once(/var/www/vhosts/worldwide-gaming.com/httpdocs/squirrelcart/pre_common.php): failed to open stream: No such file or directory in /var/www/html/ProdFeedGen.php on line 6 Fatal error: require_once(): Failed opening required '/var/www/vhosts/worldwide-gaming.com/httpdocs/squirrelcart/pre_common.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/ProdFeedGen.php on line 6 and does not print code to screen. These errors show for me due to the fact I am not using a full url to get to your require once file. -
We know no more now than we did when you posted the 3 files. We already understood that is the file with the error. Please provide all 4 files using the actual file names and without any sensitive information that is in them. I have a suspicion you have not followed the majority of the advice you have already been given. There is obviously a mistake (or many) that is causing the error. It will be very hard for you to solve the error if you are going to pick and choose what advice is given.
-
You only have that 1 page for code now?
-
Does kaynak/baglan.php contain any html output? If it does you must put session_start() first before any html output.
-
instead of saying first file, second file and third file use the actual file name. I am curious if your form is actually posting to second file (denetim.php) and which file is your redirect (header("Location:sayfam.php")). The clearer you are determines the quickest path to your answer.
-
Where is $_POST['nik'] coming from?
-
not sure what to do with action equals index.php
dodgeitorelse3 replied to Old_Dog_New_Tricks's topic in PHP Coding Help
Using sort will sort numbers. so I if enter 12345 into input box results will be 12345. If I do same thing again then result will be the same. Without using sort, the numbers will be returned in different orders each time using same input of 12345. However entering more than 5 digits, lets say 1 through 9, then it will return 2 sets of numbers. the first set with 5 numbers and the second set with the remaining 4 numbers. So depending on what you are expecting for results depends on the code you use. -
How to pass parameter from HTML to PHP?
dodgeitorelse3 replied to Erwin007's topic in PHP Coding Help
<?php if (!empty($from) && !empty($to)) { ?> <div class="card"> <div class="card-datatable table-responsive card-body"> <div class="col-md-12" > <table class="table dataTable" id="myTable2"> <thead> <tr> <th>Product</th> <th>Amount</th> <th>US$</th> </tr> </thead> <tbody class="tbody"> <?= $tdata ?> </tbody> </table> </div> </div> </div> <?php } ?> I think that is what you need -
Query Multiple Tables using 1 common field
dodgeitorelse3 replied to dodgeitorelse3's topic in MySQL Help
Just an update for the normalization, Barand has taught me how to normalize tables. He also did the work and normalized my tables for me which allowed me to see and understand what proper normailization is and how it works. Thanks millions Barand. -
How to pass parameter from HTML to PHP?
dodgeitorelse3 replied to Erwin007's topic in PHP Coding Help
What is your "little adapted version"? -
Query Multiple Tables using 1 common field
dodgeitorelse3 replied to dodgeitorelse3's topic in MySQL Help
@Barand I marked your reply as a solution. There were actually 2 solutions, the first was the SQL tutorials in your signature and the second was your post about Thank you very much. This post also turned into a database normalization issue and I am still working on that.