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
10 views

PHP PDO for NOT IN query in MYSQL

I have a post variable called $_POST['excludeids'] with the following value: 1,2,3,4,5,6,7,8,9 I want to pass this into an SQL query through NOT IN so I use the following query: $STH = ...
0
votes
0answers
4 views

How to use AJAX to insert form data in the database with AngularJS

I was trying to create a form and post the data in the database using AngularJS, MYSQL and PHP. Unfortunately, I wasn't able to do so. Could you show me how it's done?
1
vote
0answers
9 views

How to share git branches that are based on same repository?

I am a novice programmer, and completely new to GitHub. I am collaborating with a colleague on a project he has been working on over the years. So Far: He created a repository and loaded up all the ...
0
votes
0answers
8 views

Masking the special pages in mediawiki

We are developing a application using mediawiki. we are not fully aware of mediawiki. We have created a special page as mediawiki/Special:Video. But we do not like to view the word Special: in our ...
-6
votes
0answers
29 views

Can anyone suggest me the PHP log writer library available? [on hold]

I'm using PHP for my huge website. I want to wirte the user log information to a log file and read the same information from it. To get better idea of what I want to achieve I've written the sample ...
0
votes
0answers
23 views

Cannot use X as Y because the name is already in use, even though it's not

I'm using PHP 5.4, and have a PSR-0 class structure similar to the following. A\Library\Session.php: namespace A\Library; class Session { ... } My\Application\Session.php: namespace ...
0
votes
2answers
19 views

Best external/extramural course to learn web development?

what extramural short, one year, programs do you recommend? I have just spent the last 4 years at university studying industrial design hons and canot afford, time and money, in another degree. If i ...
0
votes
1answer
23 views

Foreach list with different database status

I am working on a project (real estate) and need to display a list of properties. (pictures) The properties are in a database. Properties can have two 'objects_status': 1=for sale, 2=sold. Sold ...
-2
votes
2answers
26 views

php/mysql : Cannot add or update a child row

I have a data base named "project_beta" which contains the following tables: offre, categorieOffre and fournisseur. -fournisseur (idFournisseur, nomFournisseur) -offre (idOffre, nomOffre, ...
0
votes
3answers
15 views

htaccess rewrite rule not working correctly

I have the following htaccess file Options +FollowSymLinks RewriteEngine On #profile view RewriteRule ^([a-zA-Z0-9.]+)/?$ profile.php?id=$1 When i go to my url and type ...
5
votes
0answers
74 views

Strange variable/method/class names - PHP

I've a php file that I can't read it because all variables/functions have strange names! A block of function of my file is: public static function    …………  …… …  ($   ………  …  ……  , $   …… ………  ……  ) ...
-2
votes
4answers
38 views

php & mysql syntax error

I've made a code on php to modificate some mysql cells content, but my code are returning the error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ...
0
votes
1answer
23 views

How to end a cycle with DIV ?

<div class="product-fields"> <?php $custom_title = null; foreach ($this->product->customfieldsSorted['normal'] as $field) { // I set the position to normal if ( $field->is_hidden ) ...
0
votes
1answer
25 views

isset($_POST['submit']) not working

if condition is not working here. i've gone through the earlier solutions but i didn't find a right solution . i couldn't understand the reason . please help me out <?php require'core.inc.php'; ...
0
votes
0answers
15 views

Causes of 500 Server Error

I have built a scraper to get some data from a website and it always stops with a 500 server error, i have been trying to fix the code a little to make it run better but can't fix the error, is there ...

1 2 3 4 5 27704
15 30 50 per page