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 (8) | php jobs

0
votes
1answer
10 views

No alert in success function

I am trying to insert value in database from jquery ajax and i want whenever data insertion is successfull, a result output comes true other wise "error:failed". My entry in database successfully ...
0
votes
0answers
16 views

Get progress of operation via ajax+ php

I have a situation where my main task is to lookup domains names and respond about availability of a domain.Now the thing is this is a time consuming task.. Roughly the script taskes 25-30 seconds to ...
0
votes
0answers
12 views

Smarty and objects private properties

Smarty allows to access object properties using this syntax in templates: {$object->property} But (If I understood this correctly) this is possible only if property visibility is public, ...
0
votes
4answers
23 views

click counter in php using jquery

I am new to JQuery and trying to create a counter which counts the number of clicks and updates the counter in the database by one. I have created a button, on click of that i am sending the counter's ...
0
votes
0answers
6 views

PHP SOAP client fatal error

I am having trouble run my PHP SOAP client on my machine at work. This is my PHP SOAP client: <?php $params=array("SendMessageRequest" => array( "GsbEnvelope" => array( ...
0
votes
0answers
2 views

Joomla! 2.5 Category Article Quick Jump Module

I have searched on the JDE but i can't find any extension that can do or that i can modify. I want a module that query a selected top category then filters the second sub category then displays the ...
0
votes
0answers
7 views

Curl upload multiple php://memory files?

I've created multiple memory based files like this: $fp1 = fopen("php://memory", 'rw+'); fputs($fp1, "hello1"); rewind($fp1); $fp2 = fopen("php://memory", 'rw+'); fputs($fp2, "hello2"); ...
-6
votes
1answer
30 views

Convert a string date format in PHP [on hold]

I need to convert a string date, it could be 19840325 or 25031984, into this format: 1984-03-25T00:00:00 Any suggestions?
1
vote
2answers
21 views

Allowing sessions on multiple sites

I am working on a site that has a login API. So when people login on my site, they will automatically be logged in to other sites. Is their way by which a session can be setup so that other websites ...
-7
votes
1answer
30 views

PHP array item value to wrap with array [on hold]

Example. I have this: 'item' => array ( 'blah' => array ( 'foo' => '5.83', 'bar' => '80', ), ), To be: 'item' => array( 0 => array ...
0
votes
1answer
16 views

Display Each Row Where URL Variable Corresponds With Database ID

I have a URL that is dynamically generated: https://mywebsite.co.uk/report.php?taskid=25&rep=1&rep=2&rep=3 I can retrieve the variable for the task ID and rep fine: if ...
0
votes
0answers
4 views

YiiMongoDbSuite not working

Thanks for reading ,im using YiiMongoDbSuite extension to connect to mongo db i downloaded mongo-php driver from https://github.com/mongodb/mongo-php-driver/downloads added php_mongo.dll in /ext ...
0
votes
0answers
5 views

Getting a pivot column in Eloquent query

I am trying to retrieve some models and a pivot column in the same query. I have 3 tables. materials id | name items_fabrics id | name | item_id items_fabrics_materials id | fabric_id | ...
0
votes
1answer
30 views

Counting Variables using PHP

Building a simple jQuery/PHP setup where for example the PHP will store 5 variables each containing a simple string. These variables are all separate and not in an array. The jQuery used is just a ...
0
votes
0answers
5 views

Display the Sonata Admin Bundle inside a view of a Symfony Bundle

My question is simple but I don't think that the answer is. I'll try to be clear as possible. I have the Sonata Admin Bundle, that allows me edit or view tables, etc. It's ok. I also have a custom ...

15 30 50 per page