39,323 Topics
| |
Hi all,my question is i have a form: ![form.jpg](/attachments/large/4/b93dd71ea1dd4f7611edc5ff89832a8f.jpg "align-center") And database: ![database.png](/attachments/large/4/498755bd870d504cf718682b0626d69e.png "align-center") how would i exreact data entered in the form field from database and display in seperate table? ![table.png](/attachments/large/4/8d3074983efeb9799c5474c8e9172afd.png "align-center") | |
Hello everyone, first of all i like to say that the new daniweb webdesign is AMAZING i really like it and hope this site it will become number one for programming and if it does please never BAN its users like stackowerflow do but thats other theme.. :D I have … | |
Hi everyone, I use laravel because its great. but i didnt use it on live server yet. I am using a sheared server and i uploaded my files to public_html folder and run my website. But browser shows a white blank page and then i open my browser console it … | |
When i send emails from my website using the mail() function the email goes with my hosting server domain instead of mine(marlon.com or info@marlon.com). Please any help will be appreciated. Thanks | |
how to remove the .php and .html from my file names. thnx | |
I want to what is better way of doing this.Suppose user visit a website he is not yet registered on our website so nav bar shows some options like sign up ,login, help these are options before registration now if user registrated for website after login options on nav bar … | |
Hi! Im creating individual excel file base on the duedate and client name of a reservation and sending it automatically on that date.but im having a trouble dispalying the SUM/ Grandtotal of each excel summary that i created. the grandtotal inside my while loop is also incrementing. i dont now … | |
Hi there, As an excerise I am trying to create a basic PHP blog. Creating the user login system was pretty straightforward, and I've 2 mySQL tables, one with user information, and one with the blog information (and with a foreign key referencing the user id). However, I'm stuck for … | |
Hi, below code is extracing title,keywords,descrption,links. Need suggestions to find out IP address, Load Time, HTTP Status <?php function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $data = curl_exec($ch); curl_close($ch); return $data; } $html = file_get_contents_curl("http://servicesonclick.com/"); //parsing begins here: $doc … | |
im new in php and i want to have a login that after 3invalid password attempts disables the login button. heres my login code thanks for the help in advance :D <?php session_start(); include_once 'dbconnect.php'; if(isset($_SESSION['user'])!="") { header("Location: home.php"); } if(isset($_POST['btn-login'])) { $email = mysql_real_escape_string($_POST['email']); $upass = mysql_real_escape_string($_POST['pass']); $res=mysql_query("SELECT * … | |
Hello guys i have got a code from stackexchange which is working somehow but giving one issue that the post repeating themself and no. of post per page is not working here is the code where i called the template <?php /** * Loop - Archive * * This is … | |
Hello I have created a website recently and my client is saying that your website is not secured I have easily created new tables and even a kid can get in to your database and modify your database. is this because I have used this <a id="svgtriangle_f9" xlink:href="mainpage.php?apart=1&floor=9" class="portfolio-link" onmousemove="ShowTooltip(evt, … | |
I need help for delete image from server. i have a path http://example.com/myapp/example/next/image.png any body help to remove image from server | |
Hey guys, Using PHP I store a datetime in a mySQL table. I am trying to draw that out and reformat the time. The datetime is contained within the array $user_data['6'] and the format in the mySQL table is set to datetime. The error I'm getting is Call to a … | |
http://stackoverflow.com/questions/32432100/facebook-after-login-redirects-to-codeigniter-3 | |
Question is not new but i can't make it work.I have registration form along with user registration form i also have a upload picture options.These are views // view for user data <form action="<?php echo base_url('Camping_register/register') ?>" method="post"> <h2>Camping <span class="red"><strong>Rent Details</strong></span></h2> <label for="business_name">Business Name</label> <input type="text" id="business_name" name="business_name" placeholder="enter … | |
Hi I have a php script that reads in the contents of an existing html file and saves it to a variable called $home_page. For a test I displayed this by printing variable out and the output displays as expected. Then using fpdf I wrote this variable out to create … | |
Hi all, I am using the PHP Facebook SDK to login users. A login button validates the user and returns to a callback 'fb-callback.php'. On this page, I dump the returned data into a mySQL table, start a Session, and redirect to the homepage. As a test, I stopped the … | |
Hi everyone, Can you please let me know how I can assign the selected value from a dropdown list into a $variable and print or echo it in the screen For Example if I have a dropdown list of years like: [CODE] <?php $years = array(); for ($i = 1900; … | |
When I look up connectin an html form via 'action' & 'submit' to php code I see that I am supos to give the form's action attribute the value of the php file I want to run upon submit. But what do I do if the php I want executed … | |
Hello....HELP, i have a script for saving textarea, but give me error and php is hardy for me: * Notice: Undefined index: page in C:\wamp\www\* *Warning: file_get_contents(): Filename cannot be empty in C:\wamp\www\.....* THE FORM HTML ... FOR CALL THE FILE <form action="" method="POST"> pagina: <input type="text" name="page" value="" /> … | |
I'm trying to resize uploaded images so they fit into a slideshow. Specifically, I'm interested in the height of the image as the slider doesn't handle different heights too well. So I've implemented the code below: <?php function resizePhoto($ht,$fname,$dest,$pref,$SRCPath){ $image_path=$SRCPath.$fname; $image_atts=getimagesize($image_path); if(!$image_atts[0]){ echo 'Image data is corrupt, cannot process file:'.$fname; … | |
Hello, I am trying to update or delete item from cart but it;s not oking session_start(); include("includes/layout/header.php"); include_once("includes/connection.php"); function get_product_name($pid){ global $connection; $result=mysqli_query($connection, "select product_name from products where prod_id=$pid"); $row=mysqli_fetch_array($result); return $row['product_name']; } function get_price($pid){ global $connection; $result=mysqli_query($connection, "select product_price from products where prod_id=$pid"); $row=mysqli_fetch_array($result); return $row['product_price']; } function get_order_total(){ … | |
Hi guys, I can't get passed this error: Call to a member function bind_param() on a non-object. I have spent hours looking for insights, and can see that my $statement returns FALSE, but have no idea why? My understanding of PHP is limited, so it might help if I actually … | |
Hello, I am writing this to warn you and because I haven't selected yet witch solution to choose , so your opinion is more than welcomed. The problem: in some version of iPhone / iPad software the cookies aren't separated by “;” but by comma and doubled. The first fatal … | |
I'm working with MariaDB through PHPMyAdmin and I have a question about how I need to set up my database. For eash person in the table I am currently building I'll also need an array of date values. I don't think there is a way for me to setup a … | |
Hi all i generated table,but it looks like the code is a bit messy,long,how can i do the same with the arrays or loops? <html> <head> <meta charset="UTF-8"> <title></title> <style> table{border-collapse: collapse;} tr th, tr td{border: 1px solid black;} #resize { width :100%; position: relative; } </style> </head> <body> <?php … | |
Hello, I have a database with MAMP and I have created a music table which contains musicId and musicUrl columns. Now in my websiteI created an HTML player that gets its sources from "src" syntax. The player is fixed at the bottom just like soundcloud player. I want to display … | |
I am using so much jquery code in my php page and add text boxes using var newTextBoxDiv = $(document.createElement('div')) .attr("id", 'abc' + nextcount); newTextBoxDiv.after().html( ); echo "<script>window.location='abc.php?a=data&b=data1&c=data2'</script>"; finaly all text boxes with jquery code coming on browser after submitting. please any body help to solve this problem .(after submitting … | |
Hello, I am using phpwhois lookup to fetch details of an ip and i am very much successful in it. But i need to detect whether the ip belong to an individual or any organization. For example if i browse my tracking website from home it is my individual ip … |
The End.