52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

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
Member Avatar for diafol
0
197
Member Avatar for davy_yg

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
Member Avatar for pixelsoul
0
286
Member Avatar for Mr.M

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
Member Avatar for Mr.M
0
324
Member Avatar for Johnson_7

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
0
221
Member Avatar for istore221

<?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
Member Avatar for Anuradha_2
0
258
Member Avatar for SKANK!!!!!

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
Member Avatar for sajjadhira
0
47K
Member Avatar for yann.bohbot.9

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
Member Avatar for diafol
0
384
Member Avatar for Mugiwara

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
Member Avatar for diafol
0
247
Member Avatar for davy_yg

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
Member Avatar for pixelsoul
0
289
Member Avatar for Haji Sameon

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 …

Web Development php suse
Member Avatar for diafol
0
864
Member Avatar for cainam29

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
Member Avatar for urtrivedi
0
1K
Member Avatar for SimonIoa

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
Member Avatar for pty
0
282
Member Avatar for peace_coder

**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
Member Avatar for pty
0
693
Member Avatar for Mugiwara

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
Member Avatar for rproffitt
0
468
Member Avatar for Lim_2

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 …

Web Development mysql perl php
Member Avatar for patk570
0
356
Member Avatar for davy_yg

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 …

Web Development api ecommerce php
Member Avatar for pixelsoul
0
373
Member Avatar for cainam29

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
Member Avatar for cainam29
0
267
Member Avatar for IT-Naomi

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
0
138
Member Avatar for Royal_3

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
Member Avatar for Cristian_1
0
260
Member Avatar for tryphy

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 …

Web Development display image php
Member Avatar for cereal
0
3K
Member Avatar for Wytse

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
Member Avatar for Wytse
0
886
Member Avatar for seularts

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 …

Member Avatar for Haji Sameon
0
2K
Member Avatar for Var_1

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
Member Avatar for arunmagar
0
2K
Member Avatar for Jon_7

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
Member Avatar for gentlemedia
0
540
Member Avatar for Haji Sameon

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
Member Avatar for Haji Sameon
0
6K
Member Avatar for seularts

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: …

0
400
Member Avatar for Narayan15

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
Member Avatar for happygeek
0
6K
Member Avatar for Jon_7

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 …

Member Avatar for pdsubbu
0
393
Member Avatar for bisibee88

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
Member Avatar for rubberman
0
5K
Member Avatar for navin_3

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
Member Avatar for rproffitt
0
296
Member Avatar for Mohammed_44

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
Member Avatar for diafol
0
250
Member Avatar for developer707

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 …

Web Development html-css php
Member Avatar for developer707
0
324
Member Avatar for Дима

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
Member Avatar for Dani
0
225
Member Avatar for pradeep_12

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 …

Member Avatar for rproffitt
0
500
Member Avatar for davy_yg

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
Member Avatar for Thomas_41
0
275
Member Avatar for Van_5

**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 = …

Web Development mysql php sql
Member Avatar for Van_5
0
230
Member Avatar for hrushi9

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 …

Member Avatar for pdsubbu
0
311
Member Avatar for Ryan_26

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 …

Web Development html-css java session
Member Avatar for Subraa_1
0
1K
Member Avatar for destiny_3

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 …

Member Avatar for Subraa_1
0
513
Member Avatar for davy_yg

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
Member Avatar for diafol
0
300
Member Avatar for ernest_5

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
Member Avatar for ernest_5
0
2K
Member Avatar for michael.dewitt.716

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
Member Avatar for michael.dewitt.716
0
22K
Member Avatar for Damilola_1

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
Member Avatar for Damilola_1
0
205
Member Avatar for shahir_1

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 = …

Web Development php session
0
290
Member Avatar for SimonIoa

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 …

Web Development caching php
Member Avatar for cereal
0
374
Member Avatar for SimonIoa

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
Member Avatar for cereal
0
766
Member Avatar for ernest_5

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
Member Avatar for ernest_5
0
1K
Member Avatar for Nida_2

<?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
Member Avatar for AndrisP
0
2K
Member Avatar for davy_yg

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">&times;</button> <h4 class="modal-title">Please input a new background</h4> </div> <form method="post" enctype="multipart/form-data" …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for Var_1

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
Member Avatar for essential
0
755

The End.