Tagged Questions
PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP classes, methods, functions, syntax and use.
0
votes
0answers
4 views
facebook_session has no method graphCall
I'm using the DracoBlue node-facebook-client and passport.js to authenticate a user into my app, then check if they are a member of a specific group.
I retrieve the users profile and access token ...
0
votes
0answers
10 views
Make a website design based on another website
I am looking to create a website for my Anime Visual Story. I know enough HTML, PHP and JavaScript to make it work but I am unsure how to do something like this:
Similar Site (inspiration)
Graphics ...
0
votes
0answers
7 views
Plotting array to Google stack bar
I am having hard time here manipulating my array to fit the stack bar, I am using google stack bar API here
basically I have array like this :
Array ( [A] => Array (
[0] => ...
0
votes
0answers
34 views
PHPData from an array to variable
I've getting data from a MySQL database (gpio temperature sensor) and storing 1 row into a variable to use with pCharts. This is in php
If i create the variable manually this work
$sensor1c = ...
0
votes
1answer
10 views
Automatic Uploader
Two years ago, I had the need to make a tool which automatically uploads a txt/csv file via POST to my Web Server which later is then parsed via PHP with a cronjob.
This had two happen automatically ...
0
votes
0answers
13 views
How to remove a category from url?
Now I have urls such as:
mysite.com/category/football
mysite.com/category/volleyball
mysite.com/category/hockey
And it corresponds to the rule:
RewriteRule ^category/([^/]*)$ ...
0
votes
2answers
31 views
SQL - Return Max Column Value
I have been searching for how to do this but I didn't find anything useful!
So I have the following table with the following columns:
ID | USER | COMMENTS
---------------------
1 | John | 20
2 | ...
-3
votes
2answers
25 views
php delete using checkbox from database and folder
Hi, H have a problem to delete from folder I use unlink() but one file is deleted another is not deleted I use check box for this and I take the id then I search the name in db but when I print them ...
0
votes
0answers
7 views
Custom error logging in Laravel
I am using laraval 3.2.13, I dont want to show errors to my users so I hide them and set :
/config/error.php
'log' => true
The log is working but it is not very readable, I would like to add ...
-1
votes
0answers
6 views
Multi platform mobile application with phonegap
I have to develop a multi-platform(Android,IOS,Blackberry,Windows) mobile app. App must work in online mode ie. when connected to internet as well as offline mode ie.when not connected to internet.
...
0
votes
1answer
27 views
INSERT ON DUPLICATE KEY UPDATE when composite key
I want to insert new rows in MySQL table only if the combination of 3 of the existing columns (ID, Type, Year) is not unique. In case these 3 columns match I want to update the field 'Val' only.
...
-5
votes
0answers
28 views
Javascript php language survey [closed]
What is the code for an survey question ?
What im trying to make : Before entering index.php to view the page i want an "survey" to appear to aks for language select
Something like in pc games, ...
0
votes
0answers
4 views
sending mail using swiftmail
I am learning to use swift mail to send mail. I tried below code to send mail even the php success but didn't send any mail to my hotmail. I tried using 465 and 587 but both not sending mail to my ...
0
votes
0answers
6 views
Database issue when I upgraded prestashop from 1.5.2 to 1.5.4.1
After an upgrade my prestashop from version 1.5.2 to 1.5.4.1, it seemed that everything was more or less well, until I try to modify the long description field.
In the products I already had, when ...
0
votes
0answers
7 views
Show WordPress posts Only from startDate(stored in database) to CurrentDate?
I'm trying to create a WordPress template where the user will be shown posts from the start date that is stored in the database to the current date.
I tried using wp_get_archives , the list of ...