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.

learn more… | top users | synonyms (6) | php jobs

0
votes
0answers
4 views

datatable into cakephp join tables

I have problem with datatables and script from http://datatables.net/development/server-side/php_cake to cakephp. I using it many time but no I have to use join and server response me MySQL ...
0
votes
0answers
10 views

PHP - Codeigniter set views datetime to locale

Hi i'm using Codeigniter and i have tons of datetime() methods in my views. So user choose his own language and i would like to automatically convert all datetimes to locale time zone for all my ...
-4
votes
1answer
36 views

How to store html tags in php variable

Ok so im making a login system and for some reason when typed like this im getting issues with it posting without an echo or print and the following script the displays itself help anyone. <?PHP ...
-2
votes
0answers
21 views

Strange old php code and mysql sql

I found some old php code, but one sql question seems to be very strange and gives php error: $sql = "select * from where id='".( integer )."'"; It seems the question wants to select only id's ...
0
votes
0answers
25 views

Loading php with jquery

I'm still trying to solve a problem that I posted here, but have yet to find an answer to. I'm using wordpress and I want to load a slideshow after pageload. It's turning out to be a lot more ...
2
votes
3answers
36 views

Is it possible to access $_SESSION variables from other sessions?

My website uses sessions for user logins and I would like to have a message on each page showing the user how many computers are logged into their account (like what Gmail does). For example, if ...
-1
votes
0answers
19 views

login fiverr.com using curl PHP

how to log in fiverr.com using cURL PHP and fetch the messages from my INBOX. I have used this code but it is not working. <?php $login_user = 'user'; $login_pass = 'pass'; $ch = curl_init(); ...
0
votes
1answer
7 views

xpath: getting child node by searching parent attribute

I have a KML file for google maps that I want to edit. Here's a stripped-down version: <?xml version='1.0' encoding='UTF-8'?> <kml xmlns='http://www.opengis.net/kml/2.2'> ...
0
votes
2answers
13 views

DROP DOWN BOX is getting reset to the first value after clicking on SUBMIT or REFRESH buttn

I have a form with one drop down box(X) and one text box(Y). After selecting a value in X drop down box (For example: x2) and entering a value in the Y text box, when I click on the SUBMIT button, the ...
0
votes
4answers
28 views

One email to forward to multiple email addresses

I am looking to create one email ([email protected]) to forward to all email addresses in a database. People can email to [email protected], and then that email would get blasted to a list of ...
-1
votes
0answers
5 views

Highchart - if I select first week of current month, it will show this data and the compare will be first week of last month

Highchart - if I select first week of current month, it will show this data and the compare will be first week of last month. I have this type of graph - http://jsfiddle.net/4TXVS/ $(function() { ...
0
votes
2answers
21 views

filling combobox with data from php database

this is my code <select> <?php $query = "SELECT * FROM 'sections'"; $result = mysql_query($query); while($row=mysql_fetch_array($result)){ ...
1
vote
2answers
25 views

Prevent php direct page access in the url bar

I am doing a small application in core php.Here my database for login is something like this id firstname lastname email userid account_type contactno password in login file the code is something ...
0
votes
0answers
34 views

Array in where clause? Do not see any difference

I am a beginner in php and do not understand what is the difference between those two in my where clause. Basically they work the same for me and return me the same results from database return ...
0
votes
0answers
10 views

fckediter removing formating in codeigniter

i am using FCKEditer with codeigniter and when i submit data to datbase, it remove formatting before submitting data. for example, if i submit <span style="color: rgb(255, 0, 0);">know-how in ...

1 2 3 4 5 28018
15 30 50 per page