-
Replied To a Post in Calculate in PHP
As for me don't think about it , I use also this phrase (although you didn't answered in any of my questions) . Did you solved this ? . Sometimes … -
Replied To a Post in Select mysql with no duplicate
As Nutser noticed (and as you can see in the image of resulted rows you attached) they are distinct , (you have different field7 and field8 in rows with the … -
Gave Reputation to diafol in Limit & Page Error
You don.t have an opening if statement -
Replied To a Post in Best way to store data before moving to database
No you don't have any reason to store them as objects or objects list for that job. If you are talking about 10 – 15 mb consider again opening and … -
Replied To a Post in Best way to store data before moving to database
Hello v1shwa, first of all what you thought is good and could work , even the way you wrote storing a json to a file (I was planning to write … -
Replied To a Post in Best way to store data before moving to database
About “MySQL is also giving slow response which is affecting other DB operations” as I understood you keep open the connection throughout all processes , you could just open the … -
Replied To a Post in Limit & Page Error
You should read ( and understand) the code before you past it. Why you kept the var_export($results) , don't you want to do something with the results ? … Did … -
Replied To a Post in Limit & Page Error
It should show a parsing fatal error , always use: error_reporting(E_ALL); ini_set("display_errors", "1"); at least at development stage Line 18 you have the LIMIT AFTER you closed the double quotes … -
Replied To a Post in Calculate in PHP
SimonIoa I am writing this with my best mood , and if you want keep my advice , else if you don't want through it away . We are not … -
Replied To a Post in Calculate in PHP
I just noticed that somewhere in the mixed code you name the inputNum as howmanytimes , is so just replace the `$_POST["inputNum"]` with `$_POST["howmanytimes"]` . Also if by X in … -
Replied To a Post in Is there any good links on learning oop php?
You could start by this: https://www.daniweb.com/programming/web-development/tutorials/437592/introduction-to-phps-object-orientation -
Replied To a Post in Calculate in PHP
Ok I will try to see if I understood also. When you say calculate do you mean you just want to add three numbers ? When you say that the … -
Replied To a Post in Unable to display correct current date
As pixelsoul and cereal wrote the "20" in front isn't coming from that part of the code. It comes either from a part above or by html . Follow cereal … -
Replied To a Post in How to track post views?
Taywin the question was just , from where to start. There are methods that you can ensure most reliable as possible , that the article was actually read , e.g. … -
Replied To a Post in How to track post views?
The way you want it (without counting only special views e.g. from members) is quite easy. Add a “viewed” int counter with default 0 , in your table and each … -
Replied To a Post in domain check
What have you tried ? -
Replied To a Post in css responsive - scaling
Think about to turn to real responsive apps with other UI for mobiles and tablets and other for PC's. What is called today “responsive” is heavily misusing of media queries … -
Replied To a Post in onchange Drop down using AJax and PHP
I guess that you have googled “AJAX PHP example” … Although most of these tutorials have problems , could give you an idea of what is an AJAX call and … -
Gave Reputation to diafol in having an unexpected error
Try: $database = new PDO("mysql:host=localhost;dbname=editmate","root",""); Sounds like the root of your error problem (root, get it? he heh, never mind). -
Gave Reputation to Taywin in having an unexpected error
Why do you need a backslash in `new Dropbox\AppInfo(...)` and in 2 other places??? Also, I am not sure you are creating PDO correctly. Shouldn't it be something like... $database … -
Replied To a Post in searching database using multiple keyword separated by comma's
Mysql_* functions are deprecated. See https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php . PDO is easier and safer , so not using it doesn't make any sense. You should understand the code that you paste. Line … -
Replied To a Post in Possible to use values returned from a MySQL query as Google Chart data?
seperate concernc .. java will be in servers side making all the requests (e.g. in the db) don't have such requests in JSP , JSP is meant to be what … -
Gave Reputation to happygeek in What are your corporate core values and how do express them your visitors?
Apart from three which were all grabbed from the web and pasted wholesale, one not even relevant to the question as he obviously knows jack shit. Now banned. -
Replied To a Post in What skills do you need to become a good web developer?
Kavin (or olivia) hadn't responded in any message so you know that we are talking to each other and not answering anything. We all love to teach others , to … -
Replied To a Post in Kill a website remotely
We have one other business model and think about that . We have a contract that is saying that all data belongs to the client and all software to our … -
Replied To a Post in The Indexed Objects List Model (ILM) for OOP PHP Applications
There are two really minor things in this tutorial that needs more details. Remember I wrote those minifying other classes to keep only what is necessity for ILM and a … -
Gave Reputation to diafol in Post rating to be restricted how ?
Yes: ratings table: CREATE TABLE `ratings` ( `post_id` int(10) unsigned NOT NULL, `user_id` int(10) unsigned NOT NULL, `rating` tinyint(2) DEFAULT NULL, PRIMARY KEY (`post_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci That … -
Created The Indexed Objects List Model (ILM) for OOP PHP Applications
Although objects collections have a place in the PHP world many years now , their use is now flourishing because more and more PHP programmers turn to OOP. This tutorial … -
Replied To a Post in SoapClient To Php Variables
The output that you had were SimpleXMLElement Object was this from var_export or var_dump ? ok ... this might be correct (this method added the || is_array) So try: /** … -
Replied To a Post in SoapClient To Php Variables
Hello and thank you , probably you have figured it out , but here is a simple way to iterate through this SimpleXMLElement object (guess from the output that you … -
Replied To a Post in SoapClient To Php Variables
If the $response->DownloadDataByUserStringResult is the string you have after the <DownloadDataByUserStringResult> tag in your first post then the only thing you have to do is: $xml = new SimpleXMLElement( $response->DownloadDataByUserStringResult … -
Replied To a Post in SoapClient To Php Variables
What is the result when you var_dump or var_export the $response ? Is it string as you wrote in the first post or is it an object ? -
Replied To a Post in SoapClient To Php Variables
What is very strange with your question is that this web service method (DownloadDataByUserString) returns an XML inside (that more over has different encoding !!!). I have worked with web … -
Replied To a Post in iframe alternative
Hello Vusumuzi . If I understood the only thing you like to do is have the PHP code in the content , so here are two alternative easy ways. There … -
Replied To a Post in Rude replies while helping
Hello lambsshines and welcome. I am referring to very few people that are posting questions in such way (as if they didn't understood what DaniWeb is about) , just guessing … -
Replied To a Post in Rude replies while helping
we aren't here to answer questions and take money , if a person asking treat us that way is insulting (Donate $1 or more to DaniWeb and receive better, quicker … -
Replied To a Post in Rude replies while helping
I am referring to the notion that “you have to reply” … that some people have while asking . More over the notion that is something paid (even if they … -
Replied To a Post in how to remove duplicate numbers from Array
bluegue777 why don't you give us your whole project to do it for you? The first answer was solved by minitauros , did you thanked him and marked this as … -
Created Rude replies while helping
I can't really understand how some people are thinking , the are inexperienced ok but what do they think ? . This thread has nothing to do with me , … -
Replied To a Post in Post var to url after form submit
Hello lloyd.farrell.7. Three quick questions that probably are the answers. Why do you need to do it in that way? Do you know what sessions are? Why do you use … -
Replied To a Post in Dynamic onblur textbox calculation
The reason is simple , ids are uniques , class names in other hand are not. “So I need a calculation to show balance amount by subtracting payable amount with … -
Replied To a Post in Object Instantiators from Data Layer for PHP OOP Applications
Hello, thank you for the votes and for the notes on these tutorials (any question might arose by testing I would be happy to give more details) . The need … -
Replied To a Post in PHP x-loops?
If I understood your question , the answer is quite simple: $arr = [ [21,43,54,34], [2.5,53.2,24,55], [32,11,2,5] ]; $minArr = []; for( $i=0; $i < count($arr); $i++) { $minArr[$i] = … -
Created Object Instantiators from Data Layer for PHP OOP Applications
Hello, This tutorial is the next of “[A simple Data Layer for OOP PHP Applications](https://www.daniweb.com/programming/web-development/tutorials/500118/a-simple-data-layer-for-oop-php-applications)” so having read it and made your own tests is needed to understanding what we … -
Replied To a Post in PHP Algebra
Any calculation with irrational numbers can't be 100% accurate (even if we define a way to store them as fractions , when we will use those in calculations the same … -
Replied To a Post in PHP Algebra
I hope this is my last post in this ;) Correction where I explained the issue: a1*x + b1*y = c1 and a2*x + b2*y = c2 then x = … -
Replied To a Post in PHP Algebra
Although I am happy with my previous answer , it gives correct results and is a great way to understand more about OOP , I thought it once again and … -
Replied To a Post in PHP Algebra
Thinking about some cases , I made a small improvement and also now it takes account the possibility that the equations are wrong (e.g. 2x+2y=24 and 2x+2y=54) <?php class Model_Object_TwoUnknownsLinearEquation … -
Replied To a Post in PHP Algebra
Hello James, Thank you, it was an interesting question For the "scale" you see more at http://php.net/manual/en/function.bcsub.php and read the examples also. In this example the precision is a great … -
Replied To a Post in PHP Algebra
That was interesting but it took me a lot more time to decide the names of the variables than actually writing (I am not sure for those names till now). …
The End.