39,388 Topics

Member Avatar for
Member Avatar for shivya jain

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) { …

Member Avatar for shivya jain
0
465
Member Avatar for UI

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 …

Member Avatar for diafol
-5
809
Member Avatar for shivya_1

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 …

Member Avatar for diafol
0
244
Member Avatar for Shahroze_1

Have anybody tried to deploy the php applications on Cloudways digitalocean Server. what is the feedback?

Member Avatar for rproffitt
0
76
Member Avatar for idaryl

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 …

Member Avatar for ajitsinghji
0
233
Member Avatar for durga_4

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 …

Member Avatar for rproffitt
0
343
Member Avatar for Adarsh_3

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

Member Avatar for happygeek
-2
169
Member Avatar for Mohamed abdul

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

Member Avatar for rproffitt
0
349
Member Avatar for arun_22
Member Avatar for diafol
0
176
Member Avatar for destiny_3

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 …

Member Avatar for t_thakar
0
410
Member Avatar for spowel4

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

Member Avatar for diafol
0
7K
Member Avatar for UI

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 …

Member Avatar for diafol
-5
663
Member Avatar for dwlamb

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 …

Member Avatar for Stefce
0
345
Member Avatar for Stefce

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 …

Member Avatar for Stefce
0
475
Member Avatar for Magic8Computing

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 …

Member Avatar for diafol
0
1K
Member Avatar for UI

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 …

Member Avatar for JamesCherrill
0
431
Member Avatar for UI

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 …

Member Avatar for UI
0
386
Member Avatar for arun_22

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???

Member Avatar for diafol
0
307
Member Avatar for davy_yg

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 …

Member Avatar for diafol
0
2K
Member Avatar for Carole_3

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 …

Member Avatar for essential
0
3K
Member Avatar for Ritesh_4

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?

Member Avatar for TheHau
0
4K
Member Avatar for davy_yg

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 …

Member Avatar for diafol
0
229
Member Avatar for shivya_1

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"); } …

Member Avatar for t_thakar
0
301
Member Avatar for idaryl

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

Member Avatar for diafol
0
2K
Member Avatar for jim_20
Member Avatar for gentlemedia

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.

Member Avatar for gentlemedia
0
1K
Member Avatar for davy_yg

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

Member Avatar for John_168
0
356
Member Avatar for maulik_3

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 …

Member Avatar for rproffitt
0
343
Member Avatar for Stefce

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

Member Avatar for Stefce
0
1K
Member Avatar for saravananosiz

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 …

Member Avatar for cereal
1
2K

The End.