0
votes
0answers
8 views

warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545)

I am using OpenCV to display a video my code is as include include include include include // it may be necessary to change or remove this line if not using Windows ////////////////////...
0
votes
0answers
7 views

Add parameters to a request for Fans/Likers of a Facebook Page

So what I've been able to put together so far is that if you have the unique FBID to supply the following link with, you're able to get up to ~10,000 unique users who have "Liked" that page: https://...
0
votes
0answers
9 views

Search Checkbox for sql queries in php

I am currently working on a project where I am using Javascript,PHP,MySQL and HTML. I created database with tables named from publications: (Books,Journals, Book Chapters,Conferences,Patent,Other). ...
0
votes
0answers
20 views

add others value to select option

I'm trying to make option value with others , which if the user need to write other values input text will being shows to him to add what he want , otherwise he can add from the option select box , I ...
0
votes
0answers
12 views

A pie chart in chart.js with data from json

I'm drawing a pie chart using data from a database. My database is very simple, but it has a different structure than all examples which I was checking. So it looks like this: id | food | tickets 1 |...
2
votes
2answers
38 views

How to detect human typing and prevent spamming on a chatting website

We have a chatting website and we disabled the Copy-Paste function to prevent spammers. But now they have found a new way to use auto typing software to spam. Is there any way to detect human typing ...
0
votes
0answers
35 views

Mysterious very small rectangle box with “x” in the middle shows up but cannot be located anywhere on the DOM

I have this small approx. 2px x 5px rectangle with "x" through it that is showing up on tablet and mobile devices but not on desktop. It's no where on the DOM, and I don't know how or why it's being ...
0
votes
1answer
39 views

How to get the return AJAX value into a variable?

I'm a having problems using AJAX to have value on the client side to draw a graph in real time with flot. I am using one of the code examples of the flot library: the realtime. http://www.flotcharts....
1
vote
2answers
22 views

How To get Text Area Data (Html File in Text area) using ajax And i need to send data to Php ? Ajax not sending my Text area data?

If I'm trying to send Html Data in textarea Code is failed. alert Working till Username data getting properly but ajax not sending my Data to Php server. Javascript var username=document....
0
votes
0answers
27 views

If cookies are same, why do we have an option to create cookies from client side as well as server side?

We can create the cookies using JS and PHP. But if the cookie created by both of them is same, what is the use of having this option on client side as well as server side.
0
votes
1answer
30 views

Pull data into dropdown list from mysql but not refreshing upon selection

I am trying to pull data from a MySQL database into a drop-down list which I have successfully done. But the problem is that when the data is loaded and I make a selection, then a table should be ...
0
votes
1answer
26 views

Input in textarea does not display as typed in

I have an inputarea for user to type some text. However, when the text gets updated it does not shows as the user has type in. For example, the new lines are not showing up. Here is what the user ...
-2
votes
0answers
21 views

How match alphabetical number with numeric number?

I have an interesting task that i have to accomplish in PHP and JavaScript. I need a solution by which if user enters "2 Chairs" input, it should match with "Two Chairs" and if user enters "Two ...
0
votes
0answers
27 views

How do I make a php contact form? [duplicate]

I'm making a website, and at the moment, I need to use a contact us form in it. I'm an utter novice at PHP, but I do not know what I need to make my form work. I asked my friend and he said I need to ...
0
votes
0answers
17 views

Trying to call json response raises Unexpected end of JSON input

I am making a request to login, and i get the following error when I call .json(). To give context this a cors requet, I am making request from localhost:3000 to local.externallink.com and i get that ...
-1
votes
0answers
35 views

How to prevent php website down? [on hold]

I am creating a football livescore website with php. And so I need to use ajax/javascript to load data from another data.php file every 5 seconds and update index.php itself by javascript. And I want ...
-2
votes
0answers
19 views

Deleting a specific row from a database using a delete button in each row for a table in php

my case is that I return a table of reservations from php to a user. this table is for every user in order to view details of his reservation. I want to add a delete button next to each row in order ...
0
votes
2answers
44 views

Change Action of Contact Form

I have a Contact form that has a drop down with options, now I need depending on the option the person clicks on from the drop down, The name of the "Action" on Contact form to change, that way I can ...
-5
votes
3answers
38 views

Change link URL to a different link depending on the page

So in Wordpress I have a static link in the footer that appears in all pages and I would like the URL in the link to change when but only when it's in a certain page. So it's like All pages - footer ...
0
votes
2answers
23 views

How to pass an string argument into JS function inside PHP string?

so I have this PHP code, printing html tables with a button in a for loop: echo "<table><td>".$tablica[$i]['nazwa']."</td> <td>".$tablica[$i]['koszt']."</td> <td>&...
0
votes
0answers
11 views

php sessions_start warning after JS block of code added to page's head section

Ok so after adding a JS block of code in the head section of my html.php page, I started getting this warning message: Warning: session_start(): Cannot send session cache limiter - headers already ...
0
votes
0answers
12 views

How to create a general route for all models?

I have a PHP and Javascript project with Yii 1.1, and the problem is with the URL filtering a search after sorting by column in a CRUD in a particular module. It does not allow me to change the search,...
0
votes
0answers
13 views

After change shows all elements, not a targeted

I have code: PHP: $tab1_edit_query = mysql_query("SELECT * FROM gp_szablon ORDER BY nr_szablon ASC , godzina_od_szablon ASC") or die('Błąd zapytania'); // zapytanie o szablony $j=0; ...
-7
votes
0answers
18 views

Redirect to URL-Variable without any Disclaimer [on hold]

i want to make a redirect without disclaimer by an url-variable like this: http://example.net/share.php?url=redirecttothisurl How it's possible? I am really new in PHP and HTML! :/ Thanks for any ...
0
votes
0answers
7 views

How do I make my users create their own hangouts button in WordPress?

Is there a way by which we can have a hangout session inside our web application, say with a button? <a href="https://plus.google.com/hangouts/_?gid=APP_ID" style="text-decoration:none;"> &...
1
vote
2answers
10 views

sending textbox contect to php via js, processing the value and getting a new value back to html page

Im trying to process on PHP, HTML input from the user, i want as the user types, on event of onkeyup send it to php and get a value back and post it back to the html. the problem is that i cant find a ...
0
votes
0answers
20 views

Setting up Date Time picker

I created this Date time range picker using a code generator on http://www.daterangepicker.com/. Right now I just get the field and gif to display with no calendar. I put an alert on the js page and ...
0
votes
3answers
50 views

How to prevent form from submiting until the neccesary fields are fiiled

I have a questionaire website, that has about 30 qustions, the website is such that it, displays one question at a time.You only go to the next question when you press the next button. I have a ...
0
votes
1answer
31 views

Menu pop out with $.ajax, getting array {0}

So, I have this click function, whenever i press one of the DIV elements, it pushes out a menu on the side, where i want to have more information about the DIV element ive clicked on. I have been ...
1
vote
2answers
54 views

Value not found in php

For login i'm passing mail id and password from javascript file and i've checked through console.log that the values are printed. But when i echo both values in php only password is showed not the ...
0
votes
0answers
26 views

Use PHP class in AJAX call without extra handlers

At the moment I use two php files for my AJAX requests. One file holds the functions, the other file contains a switch function that determines which funtion should be fired. This works fine but ...
-1
votes
2answers
32 views

Back button url depending of previous page

I have a single post page on wordpress which can be accessible from two archive page. I put a back button on this single post page and I would like to change the url of the back button depending of ...
0
votes
1answer
35 views

How to get data including HTML from a Rich Text editor using script and HTML

I got a rich text box editor form online and i have added to my webpage.the image of the Rich Text box is attached here. code on my html body is <div class="wysiwyg-editor" id="editor1"> ...
0
votes
0answers
43 views

Reload page on URL change in AJAX filter

I am creating the AJAX filter. When any checkbox value checked then I am appending variable in URL. window.history.pushState('null', 'null', newurl); Variables are appending correctly but when I am ...
0
votes
2answers
37 views

TinyMCE with Ajax: How to return POST response to display in TinyMCE?

So, I can send a Post to my PHP program and it can send a response to a div on my HTML page. However, what I want to do is have this response display in the TinyMCE editor and NOT in the div area. How ...
2
votes
2answers
62 views

JS prompt + PHP

I have the following js code which will have page reloaded unless user enters the value. <script type="text/javascript"> var name = prompt("Please enter your name:"); if (name === "") { ...
0
votes
1answer
18 views

how to popup images by click from the table column on the screen

I am new to PHP and Java Script. i have a table where there are 5 rows and 3 column. in every row there is an image which shown in the column. the image path is stored in the db table. so when i fetch ...
-4
votes
0answers
14 views

How to create a custom template for blog in Drupal?

I am completely new to Drupal. I want to create a custom template for content type of blogs. Would anyone please guide me through the steps to create it?
0
votes
2answers
27 views

How can I manipulate the DOM in languages other than Javascript? [on hold]

So I have been wondering how can I manipulate DOM in languages other than Javascript and PHP. I can always use Javascript and PHP in one HTML file with other HTML and CSS code. Similarly, in ...
0
votes
0answers
25 views

How to get class array index for getElemetByClass name in JavaScript

everyone. I'm still new using JavaScript, I need your help to fix my problem, I try to disable checkbox after submitted. Because my checkbox value is from DB and the data will show as long as the DB ...
0
votes
1answer
17 views

Boostrap modal form with 2 submit buttons and save in database

I am trying to make a form on a modal. I have a form with 2 buttons: accept and reject. If the user clicks on accept there is an update in that database, if the user clicks on reject there is another ...
0
votes
0answers
34 views

Checkbox values on pagination Datatables

Using DataTables on my page, certain instances can be selected through a Laravel Form: {!! Form::checkbox('ids[]', $task->id, '') !!} With these, a couple of actions can be performed. Whenever I ...
-1
votes
3answers
27 views

Using CORS but nothing helped me

I really researche for hours, but did not find any solution yet. I would like to get some data from a different server via jQuery and ajax. I get this error message in my chrome console: ...
-1
votes
0answers
23 views

Loop through each table and make ajax request

On this example I have dynamic number of tables. I want to loop on each table and get all of it's TR content, because im going to pass it on a PHP request via ajax. So for this i want to attain ...
0
votes
1answer
33 views

How to prevent spammers to send me blank emails from my contact form

I have simple contact form on my website and few days ago I started to receive half blank emails from contact form on website. They looking the same as the sample below, filled out just Name and ...
0
votes
1answer
42 views

AJAX not working with certain localhost url's but is with others

I have the following jquery file: $(document).ready(function() { $("#createTeamButton").on( "click", function() { createTeamPage(); }); }); function createTeamPage() { var ...
-2
votes
1answer
17 views

confirmation box in php?

My PHP script has a link to external API. I want it to be in such a way that when I run the script a confirmation box should appear and it should ask "are you sure, you want to continue?", with two ...
0
votes
1answer
30 views

make changes in main page after login with php

I have already made registration and login pages for my web page. The question is that I want to display the name and the image of the user after login, in other words I want to make some changes in ...
0
votes
0answers
40 views

how to insert to database one value for two input have same name

I have two input fields have same name inside two radio, i have two case: 1- In case the user has chosen non saudi will show first text input and enter passport but problem don't insert in database, ...
0
votes
0answers
22 views

How can i use file_get_contents PHP on ajax site ? Possible?

How can i use file_get_contents PHP on ajax site ? Possible ? if not anyone have a tricks in php or javascript besides file_get_contents to do that ? <?php $homepage = file_get_contents('https://...