52,566 Archived Topics
Remove Filter ![]() | |
Hello, I am trying to print html message: And when I print it out instead of showing the real message it shows me this: " Ini content baru 2 <br/> <br/> <br/> <br/> " I wonder how to make it shows the message only without the html codes. Web Development php ![]() | |
Hello, I wonder why I keep failing saving data. I keep getting this message: "please fill the title and content article" - eventhough I already fill them in. article.blade.php <div class="backend-form create-article-form" style="display:none;"> <div class="form-top"> <div class="form-left"> <h4>Create Article</h4> </div> <div class="form-right"> <a href="#" class="btn-save-article setting_save"></a> <a href="#" class="btn-cancel-article setting_cancel"></a> … Web Development javascript php | |
Hi DW. I have built a website using Mobirise and now what I want to do is to enable the site to accept comments from people and also display them on the page on the section COMMENTS, now the problem is that I want the comments to use the themes … Web Development javascript php piracy | |
Hi Dynamic Dependent Select Box last one not working Bank,State,District is working branch ont working please check below code Please help. index.php <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .select-boxes{width: 280px;text-align: center;} select { background-color: #F5F5F5; border: 1px double #FB4314; color: #55BB91; font-family: Georgia; font-weight: bold; font-size: 14px; height: 39px; … Web Development javascript mysql php | |
<?php $user_name = $_POST["NameBox"]; $user_contact = null; $user_contact=$_POST["ContactBox"]; $comment = $_POST["msgbox"]; if($user_contact==null) { $user_contact = "Not provided"; } $to = "mymail@domain.com"; $subject = "Message From Web"; $body = "Contact name is = $user_name | Contact number is = $user_contact | user comment is = $comment"; mail($to,$subject,$body); header("Location:http://www.masconsolidated.com/confirmation.html"); exit; ?> this … Web Development php | |
i know how to do the link thing that if u click it it closes the window. but im wondering if theres a way to automatically close a window after the php code is done running. cause i have an inbox and theres a link to delete the message if … Web Development javascript php | |
Hey there, I'm looking to build a marketplace website and need help choosing the platform i am going to build with. I hear a lot of recommendations from friends but i would prefer having an answer from dev pros. I am hesitating between prestashop,magento, wordpress. again, i don't have an … Web Development wordpress ![]() | |
I want to not include the penalties from Sunday , only Monday - Saturday only using this borrowdate,returndate, and currentdate Thankyou! $borrowdate = new Datetime($row['date_return']); $returndate = new Datetime($row['due_date']); $currentdate = new Datetime(); $fines = 0; if($currentdate > $returndate){ $days = $borrowdate->diff($returndate ?? $currentdate, true)->days; echo "₱ ". $fines = … Web Development php ![]() | |
Hello, I am receiving this error message while trying to process the following javascript - "Error, the configuration is failed to save". What might be wrong? How to troubleshoot the javascript? partial/setting.blade.php function onSave(el) { var parent = $(el).closest("li"); var form = $(parent).find("form"); var editel = $(parent).find(".edit_form"); var beforeText = … Web Development javascript json php | |
Hi guys, Im quite new to php. Currently, im trying to convert my php to word and been googling for a long time about this. Anyone know how to convert php to word (free). For your information, im using Suse Linux as my server. Really need some suggestion for my … ![]() | |
I have a code that send an email but how I can prevent it from always sending everytime my page refreshes. function two_dim_array_to_html_table($arr, $colcomments){ $ret = "<table border='1' width='auto' cellpadding='1px' cellspacing='0px' align='center'>\n"; $ret .= "\t<tr>\n"; foreach($arr[0] as $key => $val){ $ret .= "\t\t<th>".$colcomments[$key]."</th>\n"; } $ret .= "\t</tr>\n"; foreach($arr as $row){ … Web Development encryption php | |
Hello, the functions are called in the XHR (status 200) but dont return anything as it should,. Even when i put an echo it doesnt return the echo. The path is correct example javascript function userDetails(uid,apiBaseUrl,baseUrl,public_username,msgID,groupID) { var encodedata=JSON.stringify({"uid": uid,"public_username":public_username,"msgID":msgID}); var url; url=apiBaseUrl+'api/publicUserDetailsTest'; ajaxPost(url,encodedata, function(data) { if(data) { some code.... … Web Development api javascript json php | |
**Hi, everyone** I need little bit help related to creating Coupon script. Let me explain my idea, for example I have 100 coupons and I want to give each one to only one customer. And I want when one cupon is loaded next time it dosen't load. Let say Coupon … Web Development javascript | |
I want to see the penalties updating, but it's only see after you click the return button and wait for one day again that it will show the penalty. <?php $user_query=mysqli_query($dbcon, "select * from borrow LEFT JOIN member ON borrow.member_id = member.member_id LEFT JOIN borrowdetails ON borrow.borrow_id = borrowdetails.borrow_id LEFT … Web Development display javascript-jquery php | |
HI,everyone , I m stum in this question for long time, could somebody help me out, my output is success ,but the arrange in table is wrong. below is my code.. <?php $no_pensyarah=$_SESSION['no_pengguna']; $tahunsemasa =date('Y'); include '../includes/dbconnect.php'; $sql_rekod = "SELECT a.*,b.nama_subjek,c.nama_kursus FROM info_subjek_pensyarah as a, subjek as b,kursus as c … | |
Hello, I wonder why I need to press F5 before entering the admin page after login. home_admin.blade.php <form class="navbar-form navbar-right" id="form_login" method="post" style="margin-top: 0;" action="{{ url('/auth/login') }}"> <input type="hidden" id="_token" name="_token" value="{{ csrf_token() }}"> <div class="form-group"> <span class="control-header">Email</span> <span><input type="text" name="email" placeholder="Email" required class="form-control"/></span> </div> <div class="form-group"> <span class="control-header">Password</span> <span><input … | |
While I'm just trying to pull up data from the db, as soon as the page shows up with the data it is already sending an email. How can I prevent it from sending the email right away. What I want to happen is I retrieved data from the db … Web Development email encryption php | |
Hello from Singapore.. I am Naomi... I would appreciate it much if any of you could let me know the cost comparison beside SharePoint VS FTP , also SP cloud VS SP premises... For SharePoint, premises may be good based on advantage of unlimited users vs per user charge over … Web Development engineering sharepoint storage | |
hi admin or others i want to use this script to display trading comment with number of comment in post eg 54=”veryhot” please check this script and correct error thanks <script> function myFunction() { var count = <?php echo $comment_num; ?>; if (count>=10) { document.getElementById( "Trending!!" );} else if ( … Web Development javascript | |
Hi guys... I want some help of how to call images from a folder.... Its like..v have a folder called images and it has many images in it.....but i need only 6 images to display in a php webpage...when the webpage is reloaded, it displays another images...its like its displaying … | |
Hello, I'm trying to get a javascript to work, unfortunately i'm not that good with javascript. What i'm trying to make is the following: I have 3 input fields: Total amount of dossiers: Total amount of cleared dossiers: Total amount of filed dossiers: The first one is the total amount … Web Development javascript | |
I have a straight forward form sprinkled with a bit of jQuery, but I have a small issue. When I hit Next button it goes to the next step without popping up the small field with "you have to complete this required field". How can I force the next button … Web Development css-bootstrap javascript-jquery | |
Hi all, I had created a function updateprintingqc() that work like this 1. user will click on a clickable button to update the data 2.when user click on OK,the dummy data will be create based on the main data shown in below image's link https://drive.google.com/file/d/0B46VQHVMeBTNMzVodDRxZEw3dGs/view?usp=sharing When the user click the … Web Development javascript json php | |
I'm trying my best to get [my page](http://fiftyallstars.com/workouts.html) to show on mobile devices correctly, but I've run into a roadblock as no matter what combination of scales I use the end result at best works on Landscape alone. When I try it on portrait, only half the page shows and … Web Development html-css | |
Hi, Im new to data table, im using DataTables 1.10.5 and i try to put center my pagination since it looks kinda messy on my table. Here is my code : Html: <table cellpadding="0" cellspacing="0" border="1" class="display example" id="example2" width="90%"> <thead align="center"> <th>a</th> <th>b </th> <th>c</th> <th>d</th> <th>e</th> <th>f</th> <th>g</th> … Web Development css-bootstrap php | |
I tested over and over and it seems there is something conflicting between these 2 scripts: bootstrap toggle and jquery validator. If I remove data-toggle=" toggle" the checkbox is required for validation, otherwise it just passes regardless of being checked or not! <form id="regiration_form" action="action.php" method="post"> <h1></h1> <fieldset> <h2>Pasul 1: … Web Development css-bootstrap javascript javascript-jquery | |
hi i m very interested to make a online music website, so i need Music player code in php. please help me. thanks in advance Web Development php | |
I'm not extremely great at coding, but I'd like to have players in my basketball program be able to copy and paste some code (on their phones) from a textarea. The catch is I also want the button to turn green and say the words "Copied! Now open the app … Web Development github javascript javascript-jquery | |
![]() | As per question, I would like to find the future date based on a given number of days. It should exclude weekends and holidays that is stored as array. Have this code below but the future date generated is incorrect. Any suggestions? var holiday = []; holiday[0] = new Date(2013, … Web Development javascript |
I have a IIS 7 web server that connects to a database. The server is accessible to the public. I am afraid that the database might be compromised. In this respect What security aspects do I need to pay attention to ? What do I need to harden this web … Web Development c# web-server | |
echo "<head></head><div style='float:left; padding:30px'><h1>$k['Name']</h1></br><img src='sponsor/".$k['Pic'].'.jpeg'."' height='300' width='300'><br>.</hr></div>"; The error occured after i wanted to echo $k['Name']; This is the error that it shows Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) Web Development php ![]() | |
Hello, I am trying to manipulate a HTML content stored in a php variable. The logic is as follows: The variable should be checked if it contains an <img ... /> tag and if a tag is found it should be wraped in an <a> tag and some parametres of … | |
Hello, I am the owner of a celebrity blog and forum, I have seen that it’s possible to sell website on the internet so I was checking an online tool and I found the value of my site is around $75,000. I really would like to sell it as soon … Web Development php | |
I have a ASP.net Web API, that I am trying to host on IIS 10 (Windows 10 Pro). If I access this Web API form Angular 2 app, I get the following error XMLHttpRequest cannot load http://172.26.50.17:8085/api/library. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is … Web Development api asp.net windows-10 windows-api xml | |
Hello, I would like to create notification on press Purchase through a pop up. Such as "Thank you. We will process your request. Please check your email." How to create the javascript to create pop up? <form action="{{ action('SettingController@getBackgroundTheme') }}" method="get" id="notification"> <span class="setting-name">THEME</span> <!-- <form method="POST" action="/posts"> --> <input … Web Development javascript | |
**USE SELECT...WHERE FOR TEXT FIELDS IMPOSSIBLE** I use SELECT search with WHERE fieldsname by VARCHAR imposible. But good use with INT fields. Why's that. Please tell me about it . My code as : <?php mysqli_select_db($connect ,'simple_login'); $sql = 'SELECT * FROM table where username= hai ' ; $retval = … | |
Need help to add css transition effects to this https://jsfiddle.net/az9yt611/ floor item 1 is selected, when it changes to floor item 2 is selected add effect to its inner div's, i.e. Left & Right. Add cube **To Top** transition to **left div** & **To Bottom** to **right div**, on next … Web Development html-css javascript javascript-jquery | |
I am trying to create an HTML form which displays text from a text file, using a Java Servlet. I keep getting the following error: Error instantiating servlet class servlets.ReportServlet. Here is the HTML page: <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form … | |
my page ain't loading.. i think it its from the my comment querires .. pls some one help out <?php require_once 'dbconnect.php'; //select full thread from thread table $selFull = "SELECT * FROM frthreads WHERE threadId=".$_GET['threadId']; $selFullChck = mysqli_query($con, $selFull); $commentquery = "SELECT * FROM frcomments WHERE threadId =3"; $commentQuery … Web Development android css-bootstrap ios javascript-jquery mysql php | |
Hello all, I have this code in laravel. I wonder how to keep the tab theme selected even after pressing purchase button (on the bottom) or refresh pages. Usually it changes to profile tab being selected after refresh page. Any clue? <section id="content-desc"> <a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a> <div class="backend-box backend-box-email"> … Web Development php ![]() | |
I want to display records from my database in div and in a grid format using php. I want to set it to display 3 items in a row and then create another row and then display another 3 items continuously until the set limit but unfortunately only one item … Web Development javascript mysql php | |
I know this title is rather confusing, but here it goes. I have a PHP cURL request and the return is in a string. Normally i can easily echo specific objects from the JSON response, but i have never dealt with string returns. Here is my php <?php $url = … Web Development api display json php windows-api | |
AM new to php, but i included my php header to all page of my website, but thay are all showing the same html meta tags and I want them to show display meta tags per page, like showing meta title For Home and Meta title for our services. I … Web Development php | |
if click second link the url pass value but then i click next the url value will empty. any one healp me ...! this is my controllere public function search() { $this->load->library('pagination'); $prdictive= $this->input->post('printable_name'); $category=$this->input->post('category'); $area=$this->input->post('area'); $this->load->library("pagination"); $config = array(); $config["base_url"] = base_url() . "Main_control/search/".$area.'/'.$category; $area2 = $this->uri->segment(3); $category2 = … | |
Hello, i want to cache embedded urls -YouTube, Vimeo- photos and videos so that i could reduce bandwidth usage and server load for my website. How can i help my website to do that? I know that browsers cache information `https://en.wikipedia.org/wiki/Web_cache`. Is there something i can to do to make … | |
Hello i have a problem. Locally (xampp local server) the image uploads just fine but it doesn't when i try it on my webiste. The GD library is activated. So thats not the issue. html <video id="player" width="480px" height="240px" autoplay></video> <button id="takeSnap" class="startbutton messageButton" style="display:none;">Take Snap</button> <div id="webcam"> <input type="hidden" … Web Development api javascript php webcam | |
i am getting this error when i process this form Notice: Undefined index: image in C:\xampp2\htdocs\trail\auction_upload.php on line 10 Notice: Undefined index: image in C:\xampp2\htdocs\trail\auction_upload.php on line 13 <?php session_start(); $_SESSION['message']=""; $mysqli = new mysqli('localhost', 'root', '','auction'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $item_name = $mysqli->real_escape_string($_POST['item_name']); $item_description = $mysqli->real_escape_string($_POST['item_description']); $item_image = … Web Development css-bootstrap mysql php | |
<?php $username = "system"; $password = "Mwasif2001"; $connectionString = "localhost/ORCL"; $conn = oci_connect($username, $password, $connectionString); if (!$conn) { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } // username and password sent from form $tbl_name = 'USERS'; if(isset($_POST['username']) && isset($_POST['pass'])) { $username=$_POST['username']; $password=$_POST['pass']; } else { echo ('i am here'); } // … Web Development php | |
Hello, This is laravel. I wonder why after pressing, Upload Image button nothing happen. I doubt that it even pass the controller. Any clue? setting.blade.php <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Please input a new background</h4> </div> <form method="post" enctype="multipart/form-data" … Web Development php ![]() | |
Hello everyone, I'm currently developing a webpage that when user input the data needed in Advance Filtering and click on the button'Search Result',the table will show the data needed,but the problem is i get the error of Uncaught TypeError: Cannot read property 'fnDraw' of undefined when the user choose the … Web Development caching javascript php |
The End.