Jump to content

liontas

New Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About liontas

  • Rank
    Newbie
  1. I have install CKEDITOR to output text.Now i want to retrieve this text from SQL DB and insert into CKEDITOR for changes and updates.The value that I need to pass is $post_article.`The code below: <div class="form-group" id="article"> <label>ΚΕΙΜΕΝΟ</label> <textarea class="form-control" name="post_article" cols="30" rows="20"></textarea> <script>CKEDITOR.replace( 'post_article' ); CKEDITOR.instances.post_article.setData( '<p><?php echo $post_article;?></p>'); </script> </div> Unfortunately it doesn't
  2. The code : <?php global $connect; $connect= mysqli_connect('localhost', 'root','','andreas'); if (!$connect){ die('FAILED'. mysqli_error($connect)); } $the_post_id='46'; $query="SELECT * FROM posts WHERE post_id=$the_post_id "; $select_posts_by_id= mysqli_query($connect, $query); while($row= mysqli_fetch_assoc($select_posts_by_id)){ $post_title=$_row[
  3. Here is the code.The problem is that when i check the checkbox automatically unchecked and I am try to input the values of checkboxes to datable without submitting via button. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Lumino - Tables</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/datepicker3.css" rel="stylesheet"> <link href="css/bootstrap-table.css" rel="stylesheet"> <link href="css/styles.css" rel="styl
  4. Hi guys I have this CMS table and i want when i check a checkbox (as refers to an id) to send value to database field as "checked".Because i tried a lot and i can't find solution is there any way to fix this?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.