39,388 Topics
![]() | |
Hello to all, I am trying to display the images on my page through php from mysql database Problem is - Images are repeating , It always display only first image. <?php include("header.php"); include("connection.php"); $sql = "select Image from flood_light"; $result = $conn -> query($sql); if ($result->num_rows > 0) { … | |
Guys, ... and let's not forget the "Girls"! I am really starting to get pissed off at the searchengines. For 2 days now been googling (tried ask.com now too) searching for web proxy hosts as I want to run a free service like: http://anonymouse.org/anonwww.html But hardly any relevant results. You … ![]() | |
Hello to all, I am trying to create an admin panel so that admin can insert data into database. This is my code <?php include("connection.php"); if (isset($_POST['submit'])) { $name = $_POST["name"]; $brand = $_POST['brand']; $quantity = $_POST['quantity']; $detail = $_POST['detail']; $unit = $_POST['unit']; $color = $_POST['color']; $material = $_POST['material']; $image … ![]() | |
Have anybody tried to deploy the php applications on Cloudways digitalocean Server. what is the feedback? | |
Hello all, of late I have been using this php snippet to drive the email address of a link info@<?php echo preg_replace('/^www./','',$_SERVER["HTTP_HOST"]); ?> But now Im finding that if its used in a https (secure environment) I get an security messgae saying: The information you have entered on this page … | |
I have site using php frame work codigniter where I am using the mattdiamond/Recorderjs to record an audio file in blob content type then i am uploading it to the server but it is taking top much time to upload I want to minimize my uploading time. Max size of … | |
tell me how to start i and how will i link it to facebook as in i want to make a bot for farmville 2 in php how will i make it please help | |
Hi, I have key.p12 file and password, and I have wsdl file also. But I dont know how to start with SOAP, am new to SOAP I am trying to connect When I try to connect using SoapClient am getting the error [faultstring] => Could not connect to host, [faultcode] … | |
how to split the ajax output response in different dropdown??? ![]() | |
hi everyone.. please my code is having an issue... i made a select query and its displaying the error in the IMAGE attached... the code is also attached... pls what could be the error.... the image ain 't uploading....so below is the error... ( ! ) Warning: mysql_fetch_array() expects parameter … | |
I'm trying to create a loop to create 20 text input fields for username & 20 text input fields for password and my current attempt is listed below. It isn't working & if I view source the $i variable doesn't seem to be expanding properly. [CODE]<?php for ($i = 0; … ![]() | |
Ladies & Gentlemen! Oops! Let me try again: Gentle Ladies & Hard Men (after-all, it's the ladies who are gentle compared to men and men hard, rough 7 tough compared to the ladies)! And no, don't jest by saying "hard men" sounds like men having an erec**ion as some foolish … ![]() | |
I have 3 td's in a portion of a table. Sometimes, the data coming in from the database is less than 3. I need a method that will lay-out the data precisely compared to a rank in the table. Ideal situation: array |-0 |-name => Joe |-rank => 0 |-1 … | |
How do i select the next row in php from mysql table, i have 4 columns `ID, video_title, video_desc, video_embed` so i have more than 10000 rows in the table with youtube embed videos and i want to scroll though them with next and previous buttons but thats not the … | |
I am querying a MYSQL database and would like to return the results so that all of the job numbers that are the same are grouped together and expandable when clicking on the common name. so when the bag loads all you see is a list of job numbers. I … ![]() | |
Fellow Programmers, An hr before I roll off to sleep, I nearly always download for an hr entertainment or php tutorial videos from youtube. Got about 100 downloads at present on php tutorials. Was wondering what to download tonight and then something came to my mind: https://www.youtube.com/results?search_query=mysqli+binding However, you guys … | |
Guys, Does anyone have any php tutorials (either text or video) to recommend to me to learn how to build my own php proxy ? You see, I'm actually trying to give you a frame on my website where you can use that to navigate to websites. I want to … | |
i have db table as product_master,in that product master have many products and each product have minimum cost and maximun cost,my doubt is,in ui,i select product in one dropdown text box,dynamically another dropdown text box select that selected product's minimum and maximum cost,how can i do using select query??? ![]() | |
Hello, I am trying to create a space between line yet it does not work. It suppose to go to the next line. Instead of printing space it actually prints the html tag <br>. Any clue how to fix this problem? $content = "Someone purchase your picture".<br><br>; foreach ($request->input('pic') as … ![]() | |
Hello, I would like to share a page on facebook with a dynamic url. Here is the code to get the dynamic url. <?php $profie_url = $this->url(array("id" => $mRow->id, "url" => $this->urlify($mRow->first_name)) , "details") ."/" . $this->urlify(trim($mRow->subtitle)) . "/" . $this->urlify(trim($mRow->city_name)); ?> To use it I usually do: href="<?php echo … | |
Hello Am looking for an out-of-the-box Wordpress theme which can help me create a website similar to either FileHorse or FileHippo in a very short time. Any one has an idea? | |
Hello, I am trying to create a picture gallery with laravel: This is my blade: setting.blade.php @if(isset($themes)) @foreach($themes as $m) <tr> <td><img width="100px" height="100px" src="{{url('/')}}/uploads/theme/{{$m->pic_name}}.jpg"/></td> <td><img width="100px" height="100px" src="{{url('/')}}/uploads/theme/{{$m->pic_name}}.jpg"/></td> <td><img width="100px" height="100px" src="{{url('/')}}/uploads/theme/{{$m->pic_name}}.jpg"/></td> </tr> <tr> <td><div class="box"><input type="checkbox" name="pic" value=""></div></td> <td><input type="checkbox" name="pic" value=""></td> <td><input type="checkbox" name="pic" value=""></td> </tr> @endforeach … ![]() | |
Hello to all, I am facing an issue with login form. Everything is correct, but.. <?php session_start(); include("config.php"); $username = $_POST["username"]; $password = $_POST["password"]; $sql = "SELECT * FROM register where E_mail = '$username' and password = '$password'"; $result = mysqli_query($conn, $sql); if ($result) { $_SESSION['username'] = $username; header("location:index.php"); } … | |
I have a restaurant menu theme and there are some menu items the owner has, with no pricing (all menu items have the option for a price and an alternate price) In the taxonomy-menutype.php file [ shows the menu items ] there is this: <div class="pricebox"> <?php if ( get_post_meta($post->ID,'atp_price',TRUE) … ![]() | |
| |
I've enabled `allow_url_fopen` via MultiPHP INI Editor in cPanel, but if I check with `phpinfo()`it's still on 'Off'. Why's that? I've cleared my cache. | |
Hello, I am trying to create a round circle with css with an image inside the circle. Yet, when I try to do so the circle turns out not perfectly round. I wonder why that happen? Check this out: www.fresway.com See the facebook button. This is the codes: #circle1 { … | |
Inline Code Example HereI m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child … | |
I have problem updating the mySQL table i have simple loop to display the rows in the table in HTML FORM but when i try to update the row notting happens, no row is updated! here is the code <form action="" method="post"> <?php $sql = "SELECT ID, votemodelName, votemodelImage, modelLink, … | |
we can get a stock details in yahoo using the following url . but how can i get stock details using market cap value ,divideend value ,pe ratio ,pro rating instead of sending s=GOOG in the url http://finance.yahoo.com/d/quotes.csv?s=GOOG&f=snd1l1yr second thing i get chart data using the following url http://chartapi.finance.yahoo.com/instrument/1.0/GOOG/chartdata;type=quote;range=5d/csv/ but … |
The End.