39,388 Topics

Member Avatar for
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> …

Member Avatar for pixelsoul
0
284
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 …

Member Avatar for Mr.M
0
323
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; …

0
220
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 …

Member Avatar for Anuradha_2
0
255
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 …

Member Avatar for sajjadhira
0
47K
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 = …

Member Avatar for diafol
0
246
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 = …

Member Avatar for pixelsoul
0
288
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 …

Member Avatar for diafol
0
861
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){ …

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

Member Avatar for pty
0
279
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 …

Member Avatar for rproffitt
0
467
Member Avatar for patk570

Hey everyone, I got bored one day and created this little jem. There are no issues with it, but it may help somone out later on down the road if they have a simple project that needs to be completed. Everything is on one pages and includes elements …

Member Avatar for patk570
2
3K
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 …

Member Avatar for patk570
0
353
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 …

Member Avatar for pixelsoul
0
371
Member Avatar for Marlon189

Hello every one, Please i want to write an app the will help me manage how users access my internet through the wifi. I want to build a system where any time a user connects to my wifi and launches their browser my app is the first they see and …

Member Avatar for pty
0
270
Member Avatar for davy_yg

Hello, I am trying to print a web address in $url_link, which is the instagram web address but it does not print a correct web address format. Any idea why? home.blade.php <label for="c7"> @if($user_setting->instagram_enable) <?php if(Auth::check()) { $url_link = Url('home/instagram'); } else { $domain = $_SERVER['SERVER_NAME']; $user = User::where('domain', $domain)->first(); …

Member Avatar for diafol
0
222
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 …

Member Avatar for cainam29
0
266
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 …

Member Avatar for cereal
0
3K
Member Avatar for mangel.murti

Let say i have purchase 220 Bids for $30.80 , now i am going to place a bid for a product A, With each new bid the price goes up $0.01. is it meaning that i can place 1 to 220 any value during auction or in a deal when …

Member Avatar for happygeek
0
189
Member Avatar for Var_1

Hi guys, I have a form that have below condition: 1. when the "Printing Form" button is clicked,the form will popup and prompt user to fill in the required details 2. when the "Complete"button in the table is click,the same form will be popup and prompt user to fill in …

Member Avatar for pty
0
374
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 …

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

Member Avatar for Haji Sameon
0
6K
Member Avatar for Harry_13

I am working on a website and that website and want to display categories > sub-categories > sub-sub categories. Category is showing. But i wanna display sub-category too. Here is category code <select> <option>Select Category</option> <?php $query="select * from mydb"; $result=mysqli_query($connect,$query); while($r=mysqli_fetch_assoc($result)) { ?> <option value="<?php echo $r['id']?>"><?php echo $r['title']?></option> …

Member Avatar for diafol
0
204
Member Avatar for cainam29

I'm just starting to learn PHP and I'm trying to send my table via email. I am receiving the email but the body just says Array. I dont know where to go from here, please help. This is how my table is being displayed, and the send mail function in …

Member Avatar for cainam29
0
1K
Member Avatar for Saddam_4

Hi all, I wanna use Payment Gateway integration with CodeIgniter, I am new to this thing, so I don't have any idea about that yet... can you guys help me with this ?

Member Avatar for AH
0
235
Member Avatar for cainam29

I am trying to retrieved data from database and update a single column. column1 | column2 | column3 value1 | value1 | ------- value2 | value2 | ------- <=== this column3 rows does not have value in database yet so it will be blank when I retrieved the data Now …

Member Avatar for rproffitt
0
3K
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

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

Member Avatar for diafol
0
246
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 …

Member Avatar for developer707
0
318
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 …

Member Avatar for Dani
0
223

The End.