52,566 Archived Topics

Remove Filter
Member Avatar for
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, …

Web Development php
0
235
Member Avatar for Irfan_9

I have problem ...create four button using code as mention below which create space when i run the code in IE plz help. <tr id="gal-controls"> <td> </td> <td><div id="image-info"> <table border="0" bordercolor="yellow"> <tbody> <tr> <td ><input id="albumTitle" name="albumTitle" readonly type="text" /></td> <td ><input id="imageCaption" name="imageCaption" readonly type="text" /></td> <td><input onclick="_31_play();" type="button" …

Web Development
Member Avatar for gentlemedia
0
225
Member Avatar for samertaha

Hi, I have created a function that searches for a category in a category tree object and returns all the paths for it as an array of strings, please advice how I can improve it ? the result im getting now is : ["vehicles",["cars","mercedes"],["trucks","mercedes"],["motorcycles","BMW"]] i need it in one dimesional …

Web Development data-structure javascript json
Member Avatar for samertaha
0
400
Member Avatar for rubina_3

i want a private messaging system using php and mysql...someone plz help

Web Development mysql php
Member Avatar for rubina_3
0
1K
Member Avatar for SimonIoa

Hello i have a script that lets the user to take a photo and then upload it -this was the thread i created `https://www.daniweb.com/programming/web-development/threads/508651/how-to-open-camera-and-take-a-photo-script`But the photo returns in low res all blurry etc. I think this is the part i should change var context = snapshot.getContext('2d'); // Draw the video …

Web Development javascript
Member Avatar for rproffitt
0
163
Member Avatar for SimonIoa

Hello i want to implement a rich text editor for a <textarea> that my users are uploading text. I found some on google but most of them are very old - like 9 years ago. Has anyone in mind anything more recent? It has to submit the text and then …

Web Development javascript
Member Avatar for SimonIoa
0
3K
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 …

Web Development mysql php sql
Member Avatar for Dani
0
698
Member Avatar for adaykin

Hello, I am looking for an API that will feed me soccer stats from leagues like the EPL, Bundesliga, Serie A, and La Liga such as personal player information (name, height, weight, dob, etc.), player statistics (goals, assists, minutes played), as well as results from games. If anyone knows of …

Web Development api xml
Member Avatar for binkish
0
942
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 …

Web Development mysql php
Member Avatar for KaleBeatroot
0
307
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 …

Web Development php session
Member Avatar for cguan_77
0
367
Member Avatar for davy_yg

Hello, Can anyone program and add voice recognization to input box ? How to do that with laravel? Thanks in advance.

Web Development php
Member Avatar for ddanbe
0
908
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
223
Member Avatar for davy_yg

Hello, I am trying to rename database MySQL: RENAME DATABASE old_db_name TO new_db_name; 1 kesalahan ditemukan dalam analisis. A rename operation was expected. (near "" at position 0) Query SQL: RENAME DATABASE wwwsoulf_revsoul TO wwwsoulf_revsoul2 MySQL menyatakan: Dokumentasi #1064 - You have an error in your SQL syntax; check the …

Web Development mariadb mysql sql
Member Avatar for diafol
0
691
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 …

Web Development apache api javascript json php queue
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 …

Web Development perl php
Member Avatar for UI
0
571
Member Avatar for mattyd

I am attempting to properly install and run a Ruby script. I have not worked in Ruby for some time and am not sure what I'm missing; it worked perfectly in the past (on a work machine.) I am receiving the following error message: **<Main> undefined local variable or method …

Web Development ruby
Member Avatar for pty
0
1K
Member Avatar for davy_yg

Hello, I am trying to undestand what is smart.net for and what is it's relation with prestashop. I heard prestashop is made from smarty but I still cannot understand how to relate the two of them. I also cannot figure out how to create theme with prestashop. Can anyone else …

Web Development ecommerce
Member Avatar for diafol
0
244
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 …

Web Development mysql php sql
Member Avatar for AndrisP
0
403
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` …

Web Development php
Member Avatar for diafol
0
387
Member Avatar for peace_coder

**I saw a jelly button here:** https://codepen.io/ayamflow/pen/Dufxr But when I tried to create it on my laptop [image](http://ibb.co/bZhXa5) its not working. Here you can see: [image of button](http://ibb.co/nAfw2k) I am using these codes: **For HTML** <!doctype html> <html> <head> <title>bubble</title> <link rel = "stylesheet" type = "text/css" href = "assets/stylesheet.css" …

Web Development javascript
Member Avatar for cereal
0
306
Member Avatar for peace_coder

I tried to turn on "allow_url_fopen" through MultiPHP INI Editor in cPanel. [You can see image here](https://ibb.co/dS9WHk) But when I check through test.php it shows there that allow_url_fopen is still disabled: [Image](https://ibb.co/irriV5) Can you tell me where the problem is? Even after enabling through MultiPHP INI Editor it is disable …

Web Development cpanel php
Member Avatar for peace_coder
0
4K
Member Avatar for UI

Hi, This is a basic cURL web proxy script. Why is it showing weird array pattern looking errors ? <?php function CURLGetURL($url){ // use CURL to make request $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); // the url to retrieve curl_setopt($ch, CURLOPT_HEADER, 1); // return the header along with body curl_setopt($ch, …

Web Development php
Member Avatar for UI
0
416
Member Avatar for UI

Folks, Why do I keep on getting this error when everytime I input a url in the url field in the following web proxy script: **"The specified URL could not be returned due to a status code of 400."** It says unless the Status Code is 200 then to show …

Member Avatar for UI
0
403
Member Avatar for UI

Folks, I'm listing here all the Viral Traffic php scripts I am coming across so you guys can check them out for any purpose. I am hunting them for code learning purpose. You might learn a few tricks of the trade yourselves if you peep on the source codes. **I'd …

Web Development php
Member Avatar for UI
0
565
Member Avatar for UI

Howdy Pros! If I was going to just track which urls from my own domain get clicked then I know how to do it. On everyone of my links, I'll just add my tracking url, like so: http://mydomain.com/?tracker.php But like I said, I want to track what my users do …

Member Avatar for UI
0
1K
Member Avatar for tenten..

hi, i have problems here. i have two textbox: textbox1 and textbox2 : Order and Buyer. i want to make if user type order in textbox1 and they click enter or using mouse click, the buyer based on order will appear in textbox2. how to achieve this in asp.net webpage …

Web Development
Member Avatar for Web-Designer
0
416
Member Avatar for Bacchus_1

I am rather new to Normalization. I understand the concept of how it organizes the tables but I fail to see how I can use the data to show up correctly in my query using pdo. I have 3 tables: employees: id | name 1 user1 2 user2 2 user3 …

Web Development mysql php
Member Avatar for Web-Designer
0
1K
Member Avatar for seularts

Hi, I'm back ^_^ Ok, I almost have this cute thing working. I know I am close but I have no idea how to get this working the right way. I am Left Joining a few tables and I want to filter the results after multiple values. ...... Ex: Options …

Web Development mysql php
Member Avatar for Web-Designer
0
271
Member Avatar for chrisschristou

hello everyone gld this community exist ! i'm facing new problem with apache2 on ubuntu i'm using lamp from yesterday and everything works fine knowing that i'm originaly from windows ! so when i type `gksu service apache2 start` in terminal and then put my password, when i refresh localhost …

Web Development apache php ubuntu
Member Avatar for rproffitt
0
2K
Member Avatar for Stefce

Hi everyone. I want to make when i press a button to showup a dialog but page to not refresh or if refreshes to showup after that. i have this code but the dialog is going away after clicking the button <form action="" method="post"> <div class="col-xs-4 col-md-4"> <a href="<?= $Link …

Web Development php
Member Avatar for Stefce
0
304
Member Avatar for shivya_1

Hello to all, I am facing an issue in registering values into database through php. Many times i have done the same but i don't know why i am unable to do this now. Since from 2-3 months, I have not done anything in php.Please help me out.. <?php include("config.php"); …

Web Development php
Member Avatar for cereal
0
315
Member Avatar for Petreanu

so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the user clicks on the save button what it does first is, it checks if a record of that user already …

Web Development javascript php
Member Avatar for AndrisP
0
319
Member Avatar for seularts

I want to search a combination of values from any given field that has a list of items. Example: id | nume | denumiri_job 1 | my_list | chair,apple,snake,can How can I search for 2 or more elements from the field list? For example if I input in my search …

Web Development apple mysql php
Member Avatar for diafol
0
6K
Member Avatar for Raju_3

I am building an e-commerce website i found one error in last night in my site Error: If user enters the zipcode in zip code field & without clicking on CHECK OR GO Button, when he clicks on ADD TO CART button then products are getting added in Shopping cart. …

Web Development wordpress
0
606
Member Avatar for Krunal_3

Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both …

Member Avatar for KushMishra
0
297
Member Avatar for patk570

So i have a simple script nothing to big, but im already getting an unexpected "updateTime" $sql = "UPDATE users SET last_login = NOW() "; $updateTime = $this->db_connection->exec($sql); THis is my first time using PDO and I am already getting errors after 2 lines...

Web Development php
Member Avatar for jstfsklh211
0
285
Member Avatar for batuzai04123

Hi, I'm starting to learn Java EE - JSP / SERVLET and as for my learning progress, I'm trying to achieve this kind of web app but Im having problem with displaying the right selected row (TASK ID Column) from my table. It is populated from my oracle db. Im …

Web Development java-jsp oracle
Member Avatar for Om_3
0
16K
Member Avatar for ceeandcee30

I have a mysql database that has a Date Received entry and a Date Sent entry. I would like to calculate how many hours in between. This is what I have... $strStart = $row['Date_Received']; $strEnd = $row['Date_Sent']; $dteStart = new DateTime($strStart); $dteEnd = new DateTime($strEnd); $dteDiff = $dteStart->diff($dteEnd); print $dteDiff->format("%H:%I:%S"); …

Web Development php
Member Avatar for ceeandcee30
0
422
Member Avatar for Naveen_22

I am creating a cloud based application in laravel/php. I have a functionality where user can have their website at user.myapp.com and it works (with subdomain and model binding). I now want to go one step further, and allow users to add their own custom domain names. So their website …

Web Development apache dns php
Member Avatar for Naveen_22
0
338
Member Avatar for Dani

Can I do the following? function foo(&$a) { $a += 2; } foo($bar = 5); // Desired Outcome: // $bar = 7 In other words, can I pass an assignment by reference and have the desired outcome? (Yes, I know that I could do the test myself, but I'm working …

Web Development php
Member Avatar for Dani
0
214
Member Avatar for Siberian

I'm attempting to mask out the circles with the gearMiddle, it is as straight forward as, what you want to mask out, you make black, what you want to keep you make white (punch out effect). How do I keep what is white to which I want to keep, visible; …

Web Development
Member Avatar for Siberian
0
704
Member Avatar for peace_coder

Hi, I am facing problem in adding a widget to header of Wordpress website. Here its [Header](http://ibb.co/kr9sCa) and I want to add this [Widget](http://ibb.co/erykXa) on the right of social links. Can you guide me how to add it. I already have HTML code, not sure where to put it.

Web Development javascript php wordpress
Member Avatar for diafol
0
359
Member Avatar for davy_yg

Hello, I am trying to post my city location automatically when someone update their status. How? I try this but it does not show anything as it suppose to be: I follow this tutorial: https://www.sitepoint.com/geolocation-jquery-api-geoplugin/ <script> jQuery(document).ready(function($) { alert("Your location is: " + geoplugin_countryName() + ", " + geoplugin_region() + …

Web Development api javascript
Member Avatar for JoshuaBurleson
0
407
Member Avatar for michael.dewitt.716

Hello all, i have been searching and now i am coming here to ask for some help. can i use a php function in bind_param? If so, how can i go about doing it? my function does have a return in it rather than an echo and when i echo …

Web Development mysql php
Member Avatar for michael.dewitt.716
0
574
Member Avatar for OtepTheThird

Hi, Need help, im stuck here in PHP pagination, though i have made it work but it displays all the nmuber of pages i have. My goal is to have an adjacent so that it would be more clean for the user. here are the fucntion code for my pagination, …

Web Development php
Member Avatar for Bacchus_1
0
801
Member Avatar for patk570

Cannot get this to refresh. My code is below. I am propably doing something silly, but I cannot figure it out... var auto_refresh = setInterval( function(e) { var email = '<?php echo $_SESSION['user_email']?>'; console.log(email); e.preventDefault(); $.ajax({ type : 'GET', url : 'count_record.php', // in here you should put your query …

Web Development javascript javascript-jquery php
Member Avatar for michael.dewitt.716
0
226
Member Avatar for crymari2

Greetings, I wish to make my javascript sources really difficult to study. Don't suggest me those stupid "disable right click" tricks or so, I need code to be obfuscated (variables renamed, comments removed). Please recommend me a javascript obfuscator for this. I found about 6 tools in search engines. Among …

Web Development javascript
Member Avatar for diafol
0
204
Member Avatar for seularts

I have a little issue I can't figgure out. I can't seem to figure out how to add dots to my pagination so I don't have more pagination numbers than mysql results in the page XD . This is my code: $query = "SELECT id, ....."; $records_per_page=10; $crud->paginglink($query,$records_per_page); public function …

Web Development php
Member Avatar for seularts
0
1K
Member Avatar for david_105

Am able to use this code to bind a.id = :auc_id in order to display certain result needed for menu code, but when i introduce it in the submenu i dont get any result below are the codes for menu and submenu' MENU works fine, display whats need to be …

Web Development mysql php
Member Avatar for david_105
0
566
Member Avatar for peace_coder

A new client, as you know client have sometime zero knowledge related to web development. Client said to insert a link in her website. But when I asked her for login details she provide me godaddy login details. When I loged in there, I saw this: [Image](http://ibb.co/kYGP7a) There is no …

Web Development php
Member Avatar for cereal
0
406

The End.