39,326 Topics
| |
**I have open source PTC Script install. It was working f9 since last 3 months but yester day Its members login page shows a blank screen only while my all website is working properly. I can access to my admin panel without any restriction but members can't access . http://ptclicks.org … | |
I'm having a hard time thinking of a way to make a form for events.php(User adds an event by inputting Event Name and Event Date) I have made a table "Events"; with Fields 1. EventID int 2. EventName varchar 3. EventDate Date---->this is the problem mysql uses Year-Month-Day format. I … | |
Hello you all genius guyz once again i am in need of your help I am trying to create a page on admin to be able to see the profiles of all the users but filed to do that I have tried the while loop but still I am unsuccessfull … | |
On a php page, main.php, I have an html form with post method. It starts out something like this: <form method="post" action="https://checkout.google.com/blah/blah/blah In addition to doing the post to checkout.google.com, I would also like to execute some php code on main.php. How do I code the form post action to … | |
I have here an integrated version of my code into a modal... This code gives undefined index id <!-- Edit-Page Modal --> <div class="modal fade" id="edit-pages" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <h4 class="modal-title" id="myModalLabel">Edit Page</h4> </div> <div class="modal-body"> <?php … | |
Dear friends, Please guide me I want to display data in PHP form from mysql database. my code is below <?PHP //connect to database $username = "root"; $password = ""; $database = "mydatabase"; $server = "127.0.0.1"; $conn= mysqli_connect($server,$username,$password,$database); // checkintin connection if($conn->connect_error){ die("".$conn->connect_error); } // select data $sql = "SELECT … | |
Hi I am using opencart for my website...i am developing ecommerce website for online jewellery store...i want to know if its possible to change price of jewelery according to their actual daily market rates....automatically it should be....please help me | |
<?php echo "<form action='' method=\"post\">"; echo "<table border='1'> <tr class='' > <th> P.Name </th> <th> P.Size </th> <th> P.Quantity </th> <th> P.Price </th> <th> P.Delete </th> </tr>"; $query ="SELECT * FROM `order_detail` WHERE `orderID` = $viewID "; $result=mysqli_query($connection,$query); while($row=mysqli_fetch_array($result,MYSQL_ASSOC)){ $Id=$row['ID']; echo "<tr>"; echo "<td> <input type=\"text\" name=product_name value=\"$row[prodName]\"> </td>"; echo … | |
how to fetch subcategory in blockcategories menu plugin prestashop? | |
I am using PHP Simple HTML DOM Parser to fetch urls, but i got an error while fetching links. Have a look at this script: $result = str_get_html($result); foreach($result->find('a') as $element) $result = str_get_html($result); $result = str_replace('http://', '', $result); foreach($result->find('a') as $elementa) echo $element->href; echo $elementa->href; Here I want to … | |
I am not new to programming, been doing it for years but I want to become pro at PHP so what are some good things to develop that will help me gain experience? | |
I have simple php code here, where basically asking to display the value of query : <?php $table = "tbl_product"; /******************MULTIPLE QUERIES*******************/ if($tbl_code==999){$condition = " WHERE (category = 'wellington') OR (category = 'hivis') OR (category = 'tools') OR (category = 'waterproof') ";} else if($tbl_code==998){$condition = " WHERE category = 'wellington' … | |
Hi everyone,i have this mail notification whereby the receiver is selected from combobox. Upon combobox selection, the sender will click the submit button and the mail suppose to be sent to the receiver. But it seems that the combobox selection cannot be read.There is error message ie "Message could not … | |
A while back [diafol](https://www.daniweb.com/members/120589/diafol) helped me get a searching script working. It works very well the only problem I am having now is getting it to return the searched values. Here's some context to walk you through the process. I have a search page, image attached as help1.png, which I … | |
hya all im after a wink or poke script for my site im wondering if someone has ever done one or know where can get one from it must be in php ty in advance jan x | |
**how to check data by multivalue of array checkbox in multi row one column. ** Hi, im need to checked data from database from checkbox multivalue of array, then insert into tabel in multirow one column. I try to insert same value (month) in student payment but the data still … | |
This code works fine except for the fact that it doesn't display what I queried on posts tabs...only this part of the code with an id=pages displays my query..i checked if I have a wrong query but it works when I change the include("../includes/mainpanelpage.php") to include("../includes/mainpanelpost.php")...meaning only the code inside … | |
Hi All, Please let me know the steps to install PHP, MySQL and PHPMyAdmin on RHEL machines. | |
Hello everyone! I have a problem in login system of my CMS. When I enter the correct Username and Password, the System is always showing Invalid Credentials, However I have checked in my Databse Tables that I am providing the correct username and password. I am not getting the problem … | |
Iam creating a real estate website and I needed a search box on it. I don't know how to make it, I required users can search plot details by category example below Note: all the field's are using Drop down box to show the value 1st box : Location (India) … | |
Hello DaniWeb, I want to develop PHP application, when there is Entry in specific table of database, it should send that information to subcribers on their emails, i am new to PHP. Suggest me solution to this problem. Thanks: | |
How to remove special characters but still allow HTML tags.Im getting data from Mysql Database | |
Hello, I am trying to troubleshoot this problem using codeigniter. I am following a tutorial and getting this error after installing the ready-to-use-uncomplete-ci-script. Therefore, I still have to edit things out to make it work, which not all of them is being taught in the tutorial. ---------------------------- // all of … | |
All, I have one question and one issue with my below php email script - the script currently has the two images side by side when displayed in the e-mail - I'd like the CSS z-index values as well as the transformation to be picked up in the HTML e-mail … | |
I am having the following errors after running this code for my login. **Notice: Undefined index: user_name in C:\xampp\htdocs\fyp\cms\cms.php on line 52 **Notice: Undefined index: user_id in C:\xampp\htdocs\fyp\cms\cms.php on line 54**\ login.php <?php session_start(); ?> <?php include_once("../includes/connection.php"); ?> <!DOCTYPE html> <html lang='en'> <head> <meta charset="UTF-8" /> <title> HTML Document Structure … | |
I need to get the earliest date and the latest date in the below query. Not sure if the while loop is necessary to achieve this though? I don't need min/max for every tbl_type but the lowest of them all and the highest of them all. // get min and … | |
I have just installed xampp on a windows 7 os and downloaded my working web application into C:/xampp/htdocs/myweb calling the website with localhost/myweb brings up the home page try calling a specific page like localhost/myweb/about.html is redirected to localhost/xampp/ calling a specific page with localhost/myweb/index.php?include=about shows the correct page I … | |
Hello. So I wrote A-star pathing algorith. It is working fine, however it is to slow, if distance between start and finish is big. This "big" isn't really that big. It may take even 30seconds in 11x11 grid... I am looking for some optimization ideas of proffesionals here. Code: <?php … | |
Is the check: if (!isset($_SERVER['HTTPS']) OR empty($_SERVER['HTTPS'])) { // We are NOT using SSL } a fool-proof way of checking if we are NOT using SSL with PHP/Apache? I understand that IIS sets to 'on/off' but that's irrelevant for me. I am just wondering if I additionally need to check … | |
Hi all, I'm not too familiar with Ajax but I believe I grasp the basics. So I'm sending an id which I retrieve from an element to a php page but I can't seem to retrieve the id being send. My javascript: function ListPart(part) { var imgdata = part; $.ajax({ … |
The End.