38,022 Topics

Member Avatar for
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
473
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
428
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
383
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
305
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 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
300
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 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
339
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
Member Avatar for KaleBeatroot

hello everyone [{ "uid": "BR-M12068", "registeredDate": "Thursday May 11th 2017 03:56:37 PM", "file_path": "BR-M12068.pdf", "file_thumbnail_path": "BR-M12068thumb.png", "test_type": "Free", "title": "Medical Bills", "createdAt": "Thursday June 29th 2017 05:02:19", "chkTime": "Thursday June 29th 2017 05:01:53 PM", "chkoutTime": "Thursday June 29th 2017 05:02:29 PM" }, { "uid": "BR-M12068", /// first data "registeredDate": "Thursday …

Member Avatar for KaleBeatroot
0
220
Member Avatar for david_105

the menu works fine but the sub menu disappears when i select a menu, what am doing wrong thanks $query = "SELECT a.id, a.team1, a.team2, b.auction, b.bidder, b.tagged, b.willwin FROM " . $DBPrefix . "auctions a LEFT JOIN " . $DBPrefix . "bids b ON (b.auction = a.id) WHERE a.id …

Member Avatar for diafol
0
285
Member Avatar for Mhecha

**Am was already created form like this and working perfect but on last two forms not working, it displays warning-Undefined variable: reg_no and cost. Am trying to follow algorithm as previous forms but nothing happen. My goal is to update inserted data and here is my form** <?php @session_start(); if(!isset($_SESSION['b_lname'])){ …

Member Avatar for Mhecha
0
729
Member Avatar for david_105

hi am having a dependant drop menu issue . The menu part works fine but the submenu display data from all the table below are the codes plz what am i doing wrong //MENU TEAM $query = "SELECT u.id, u.nick, s.team_id, s.teams AS teams1, ss.team_id, ss.teams AS teams2, a.id, a.team1, …

0
231
Member Avatar for rubina_3
Member Avatar for rubina_3
0
1K
Member Avatar for destiny_3

Hello Everyone. Please how can i make a Like button in PHP.. i want the button to be clicked. the button see the far i 've gone with the attachements... like feature starts from... line 84 - 107

Member Avatar for rubberman
-1
6K
Member Avatar for Maheshwaran
Member Avatar for destiny_3

Hello pls i am making a comment feature for my log. I want the comments to be submited from a form in the "READ_MORE.PHP" , and i want the form to be processed in a "COMMENT.PHP" page were the form values are insertrd in the Comment table... (which has 5 …

Member Avatar for Dani
0
671
Member Avatar for KaleBeatroot

Hello all, I am stuck at some logic and can't able to find stuffs for my research.I have a web based data Entry app in php.Now there will be atleast 2 operators for data entry.now when they login they will redirected to same page.I fetch one file at a time.Here …

Member Avatar for KaleBeatroot
0
303
Member Avatar for cguan_77

Hello guys, just need your insight. Just a noobie in PHP, I have this scenario after a user logged in and is authenticated. It will be redirected to another URL. If the user booked mark the URL and next time just go directly to the URL. What's the best way …

Member Avatar for cguan_77
0
365
Member Avatar for Junie30

Hello, I'm trying to edit data from a selected table row by using contextmenu. But when I try to select a row for edting instead the **LAST DATA in a row** will fetch. Table: <div class="container"> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table id="ppmpsupplies" class="table table-bordered table-hover" cellspacing="0" width="100%"> <thead> …

0
220
Member Avatar for KaleBeatroot

Hello every One i have been trying this for a day but can't able to find out what i am doing wrong? Here Class proxy function which gives me access token and refresh token after user enter it's username and password by ajax request i send request to controller where …

Member Avatar for KaleBeatroot
0
3K
Member Avatar for UI

Php Buddies, Why do you reckon the following script is unable to replace the 'https://' or the 'http://' words with 'http://mymydomain.com' ? It is able to replace the words 'www.' with 'http://mymydomain.com', though. Open 2 tabs in your browser where one opens to the page where you are running the …

Member Avatar for UI
0
567
Member Avatar for Peter_56

Hi I have the following form at [http://test.genealogyresearchassistance.co.uk/newLinks.php](http://test.genealogyresearchassistance.co.uk/newLinks.php) The code is <form id="add" action="add.php" method="get"> <label for="name" id="name">Name of site</label> <input type="text" name="name" required="yes"><br/> <label for="link" id="link">Link of site</label> <input type="url" name="link" required="yes"><br/> <label for="desc" id="desc">A bit about the site</label> <textarea name="desc" required="yes"></textarea><br/> <label for="location"> Location:</label> <?php include 'database_conn.php'; $sql …

Member Avatar for AndrisP
0
392
Member Avatar for phorce

I'm having the following difficultly: I have a table `rates` which contains the follow: -> id -> rate_from -> rate_to -> price A `user` can have many rates, and for an example: between 0 - 10 hours the `user` charges `10.00` an hour between 10 - 100 hours the `user` …

Member Avatar for diafol
0
369

The End.