php-jquery-html-css

3 answers

Inline Block Elements Overflowing Parent Container

I have a list of 4 menu items sitting side by side using display:inline-block;. Each item is 120px, therefore I should be able to set the parent container to be 480px wide, however this sends the last ...

3 answers | 21 secs ago by Mikey on Stack Overflow stackoverflow.com
3 answers

Execute multiple PHP scripts from 1 PHP script in Browser

the situation is like this. I have created multiple php files with the name operation.php and is hosted in my domains. Something like this: example.com/operation.php example123.com/operation.php ...

3 answers | 47 secs ago by Swayam on Stack Overflow stackoverflow.com
1 answer

Show/hide script cannot hide again on 2nd click

I used jquery show/hide in many place in my web. every where its work well but in this case its not hide again in 2nd click. here is the example: http://jsfiddle.net/er9e72ww/ show/hide code ...

1 answer

Pass sanitized input as column name in where clause

I have a function that accepts a $filter argument and then pulls data from an SQL table based on the filters in the argument. At first I tried overloading the function so that one function took a ...

1 answers | 1 min ago by ChrisRockGM on Stack Overflow stackoverflow.com
1 answer

Need To redirect At home page If user Already logged in

i am using omniauth with devise. my controller is bellow class OmniauthCallbacksController < Devise::OmniauthCallbacksController def facebook # You need to implement the method ...

2 answers

How to load the div of another webpage and not the entire page into my webpage?

I have two webpages internal.html and external.html I have the following piece of code in internal.html which loads external.html into div with id "result" <script ...

2 answers

Possible values for “type” in mysql_fetch_field result

When calling mysql_fetch_field, the result has a property called "type". I'm seeing things like "string", which is a PHP type, but also "blob", which is a MySQL type. Is there any authoritative and ...

2 answers | 2 mins ago by rich remer on Stack Overflow stackoverflow.com
1 answer

Append <span> tag inside of <a> tag using Jquery

I am trying to append span tag inside .block-leftnav ul li .parent a, so the tag gets added only after the .parent a but what jquery does is, it adds the span tag after every a href tag on my page. ...

1 answers | 2 mins ago by Muhammad on Stack Overflow stackoverflow.com
1 answer

cross domain rest api post put get delete

I built a REST api with GET, POST, PUT, DELETE for the angularjs single page application . Now my client wants to host REST api in separate domain and angularjs single page application in another ...

1 answer

Yii CDbCommand failed to execute the SQL statement: SQLSTATE[42000]:

I get this error when I didn't do anything for a while, I not sure is Session problem or not. The error message is: CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or ...

1 answers | 2 mins ago by The Smile on Stack Overflow stackoverflow.com
2 answers

.class + .class doesn't work

I'm trying to figure out how to use the .class + .class feature in CSS and I cannot figure out how to make it work. I'm trying to to get it to when to .regLink classes are next to each other it adds a ...

2 answers | 3 mins ago by ErraticFox on Stack Overflow stackoverflow.com
0 answers

simulate click based on CSS path from Dom element

I am working on a mouse activities( mouse move, click scroll etc.) i want to record and playback the mouse activities. i have been recorded mousemove i want to simulate a click based on the CSS Path. ...

0 answers

Php array_push function in java

i am trying rewrite the following php code in to java foreach ($configValues as $data) { $temp['config_key'] = is_null($data->getConfigKey()) ? '' : $data->getConfigKey(); ...

2 answers

Mysql/php bind_param set null

It is saying "Error: Column 'DeliveredDate' cannot be null." $delivereddate = null; $stmt = $connection->prepare("INSERT INTO orders (receiptid, date, cid, cardno, expirydate, expecteddate, ...

2 answers | 4 mins ago by Piglet on Stack Overflow stackoverflow.com
1 answer

Jquery function to split option list into hierarchical select

I have list that looks like this: <select> <option value="All" selected="selected">- Any -</option> <option value="16">Africa</option> <option ...

0 answers

Prevent Multiple file upload when draged and dropped in BlueImp FileUpload

I've been trying to prevent multiple files getting uploaded when they are dragged and dropped on a dropzone. I was able to prevent the same (when selecting them via the file upload control) from ...

2 answers

Calculate days in between given start date and end date in php

I have $start_date & $end_date. I need to find out number of days with name's of days. I tried following code snipet : $start_date = '20-07-2012'; $end_date = '22-07-2012'; $start = ...

2 answers | 5 mins ago by pihu on Stack Overflow stackoverflow.com
0 answers

resize up or scale image for og:image

i need to resize up or scale image for og:image, because than im sharing the article facebook say: og:image was not defined, could not be downloaded or was not big enough. Please define a chosen ...

0 answers

Work out the location of X given distance from 10 other map locations (in PHP)

I have a variable number of locations (lat/long coordinates) on a map and an approximate distance in miles to X from each. How can we get the most accurate lat/long location of X from this ...

2 answers

Show popups only once when user logged in

I am working with mvc4. In my layout page , i have a popup that shows only when user is logged in. @if (User.Identity.IsAuthenticated) { <div class="pop-suggest popup_window"> ...

4 answers

Array combination of associative key and number in javascript

In short, I have start my question, I simply read json file, [{"FirstCategory":"Bath","SecondCategory":"Bath Accessories","ThirdCategory":""}, ...

0 answers

How to combine datatable search box and tableTools buttons in one row

I am using datatable tableTools multiple rows selection (Select/Deselect All) using below example. http://datatables.net/release-datatables/extensions/TableTools/examples/select_multi.html I want to ...

0 answers

PHP cURL says https not supported

I'm making several cURL requests to a page. After this one POST request, I get this error in my cURL output * Protocol https not supported or disabled in libcurl * Closing connection -1 cURL ...

1 answer

Overriding validation messages FOSUserBundle

I overriding validation messages in my Entity. But when i got errors, the validation messages displayed twice: First is message from FOSUserBundle(Login is short) and second is my message(Min 6). Why? ...

1 answers | 8 mins ago by ivaaaan on Stack Overflow stackoverflow.com
0 answers

Posting twitter get 401 response

I create simple script for posting to twitter, here is my code: <?php ob_start(); session_start(); $home_url = $_SESSION['HOME_URL']; $login_url = $_SESSION['LOGIN_URL']; ...

0 answers

Change login/register dropdown to “my account” when user login Bootstrap/PHP

I am learning Bootstrap and this is my first front-end project. I have a login/register dropdown menu and the PHP backend logic already implemented with PHP session. I want to know how to change the ...

0 answers

scribd set page not working

I am using scribd to display pdf. By clicking on the Page 3,Middle,End links the corresponding pages should load. But the pages are not loading properly. And in FF i am not getting any errors. But in ...

1 answer

Unable to Drop draggable using jquery UI

When I drag LI element mouse over on the 'Drop Header' then internal div should appear and where I can drop my LI element, but as soon as I reach to that internal drop area it just disapper. Here is ...

0 answers

WordPress sub-menu items not displaying properly on hover

I am having trouble with the sub-menu items at the following site. Actually the problem is with the sub-sub-menu items, i.e. the 3rd level items (I am not sure what these are actually called). You ...

0 answers

PHP-Maven :: The desired archetype does not exist

I'm trying to install php-maven from the following instructions: http://www.php-maven.org/tags/2.0.0/php-web-5min.html and yes, I did the preparation instructions. I have all the prerequisites ...

15 30 50 per page
1 2 3