Latest Posts

AdminHello, Pass to the function the arguments needed for class. You can use one of the following examples: 1. class clsTest { protected $prop =''; function __construct($prop){ $this->prop = $prop; } public function method($str){ return $this->prop .' / '. $str; } } //Receives...

JanMolendijkI almost did not slept for few day`s... & Finaly i found something i share it for the other visitors. I gonna use flexbox to show data into multiple columns with 16 rows. Example flexbox code:...

AdminTry to put the each notice in Div: $sql=mysqli_query($conn,"SELECT * FROM `notice_second` ORDER BY `notice_second`.`notice_id` DESC LIMIT 16"); $rehtm=''; // if the $sql contains at least one row if(mysqli_num_rows($sql)>0){ while($row = mysqli_fetch_assoc($sql)){ $rehtm .=' '. $row['from_who'] .' ...

Iframe in javascript variable with data from php

JavaScript - jQuery - Ajax 41 2

JanMolendijkDear Admin i just found they answer I have to put '. $row['notice_id'] .' to the basic-modal, button & win_cnt... All things are working corectly now. Thanks for the support...

AdminHello, You can use DOMParser() to create a #document from a string: var str ='abc 123 coursesweb.net some text'; const parser = new DOMParser(); const doc_str = parser.parseFromString(str, 'text/html');//get the html string as a js object var ob_test = doc_str.getElementById('test'); alert(ob_test.innerHTML); Or, another method, you can add the...

New on CoursesWeb.net

Announcements & Support 1376 26

AdminTwo new css tutorials about Flexible boxex: - CSS3 Flexbox Container : - CSS3 Flexbox Item :...

AdminHello, For input fields it is better to use the 'input' event. To emit and detect an event when some data is added automatically in input field, create an Event object with the event you want (input, change), then, apply the dispatchEvent() method to emit that event....

script filemanager error E_InvalidPath

Scripts from this website 174 3

AdminMake sure you have writable permissions for "/my_folder/" (CHMOD 0755, or 0777). If still it not works, I not know what is the cause. Look in browser console (F12) to check if there is any javascript error. You can try a newer version from this site: - The file...

AdminHello, I checked your page with Web developer in firefox, but i didn't see the error you specified, only an warning (from jquery.min.js): JavaScript Warning ReferenceError: reference to undefined property a[y.status] The Ajax call of the rating stars script is simple, and nothing wrong. - Anyway, It...

Ajax-PHP Rating Stars Script with SQLite

Scripts from this website 127 8

AlecosThanks for the short explanation. I now know the mechanism of sqlite query... and the Ajax call is already in asynchronous mode since the third parameter passed is TRUE. Thanks for your patience....

Counting members from MySQL

PHP - MySQL 99 4

JanMolendijkWell i searching in dutch lang & now i found them all But still thanks for supporting :) ...