Quantcast
Channel: PHP
Browsing all 28 articles
Browse latest View live

Which PHP IDE do you use?

I thought that this may be a helpful question to kick-start the new PHP section! I'm an occasional PHP coder and I'm primarily using NetBeans (https://netbeans.org/features/php/) at the moment. It's...

View Article


[Help] Chat Box Setup

Hey, Can someone make me this layout exactly? I would really appreciate it! http://oi57.tinypic.com/ra6ou9.jpg Kindest Regards, Stephen Strong [Help] Chat Box Setup

View Article


php mysql javascript issue

Hi everybody! Im newbie to php. please, suppose we have a MYSQL DATABASE with table CUSTOMERS. In the page: addCustomer.php, we echoed this table and it returned us a number of rows. on the same page,...

View Article

Set up python in emacs

I have an infuriating issue. I know that in emacs, you can hit C-c C-z for a python shell. I have done this before (so python is set up right) but I think I made the mistake of typing the quit()...

View Article

Woocommerce Product Add-ons - Auto-select first option

The agency I work for are trying to get a client's website to auto-select the first option on the maintenance packages for their products. Currently, we are using an if statement within a foreach. The...

View Article


Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']'

Here is the code: It's making me blind. Can someone help me please? I see one single quote. But I don't know where to add the other one. <li class="<?php echo ($_SESSION[" m="" ]="=" 'home=""...

View Article

Which PHP IDE do you use?

I thought that this may be a helpful question to kick-start the new PHP section! I'm an occasional PHP coder and I'm primarily using NetBeans (https://netbeans.org/features/php/) at the moment. It's...

View Article

[Help] Chat Box Setup

Hey, Can someone make me this layout exactly? I would really appreciate it! http://oi57.tinypic.com/ra6ou9.jpg Kindest Regards, Stephen Strong [Help] Chat Box Setup

View Article


php mysql javascript issue

Hi everybody! Im newbie to php. please, suppose we have a MYSQL DATABASE with table CUSTOMERS. In the page: addCustomer.php, we echoed this table and it returned us a number of rows. on the same page,...

View Article


Set up python in emacs

I have an infuriating issue. I know that in emacs, you can hit C-c C-z for a python shell. I have done this before (so python is set up right) but I think I made the mistake of typing the quit()...

View Article

Woocommerce Product Add-ons - Auto-select first option

The agency I work for are trying to get a client's website to auto-select the first option on the maintenance packages for their products. Currently, we are using an if statement within a foreach. The...

View Article

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']'

Here is the code: It's making me blind. Can someone help me please? I see one single quote. But I don't know where to add the other one. <li class="<?php echo ($_SESSION[" m="" ]="=" 'home=""...

View Article

MYSQL TO PDO

Hi guys, Im new to PDO and I cant get hang of it, could anyone please help me convert mysql code to pdo View attachment 1926 View attachment 1927

View Article


Help please! :(

Hi all, Bit of a newb when it comes to CSS, and need some help please! I want to change the background color of the sidebar widgets to light grey so it looks a bit distinct from white bg of the content...

View Article

Formatting Tables

Hi there, I have a wordpress custom table, fields are id,category,question,frmname what i need to have a layout of CAT1 |CAT2 |CAT3 |CAT4 |CAT5 c1Q1 | c2Q2 | c3Q3 | c4Q2 | c5Q1 c1Q2 | c2Q3 | c3Q4 |...

View Article


PHP Open Stream Error

I am trying to make a simple contact form for a simple website, just a little messing around. After getting all the code set up I ran the form and I got this error: "Warning: fopen(contactinfo.txt):...

View Article

Get more than 1 data entry from DB using PHP

Hi all, I am trying to get multiple rows data which has same id. So the same id can be allocated to different entries and I need to display this. The code as follows: <?php...

View Article


How to delete the item from table? I am using SESSION.

Here is my code : Code (PHP): <html> <head>     <style type="text/css">         table {             border-collapse: collapse;             border: 1px solid black;         }...

View Article

PHP/MySQL UPDATE not working for second table

Hello. I have 2 tables that store the same information for different groups. When I run this for the "pilots", the query executes successfully and the record is changed. However, when the "data"...

View Article

Why is this WordPress comments form not submitting?

I am trying to use the Bootstrap validator to validate the comments in WordPress, as it's a lot nicer than the default WordPress error system. The Jquery validation works nicely, but the form won't...

View Article
Browsing all 28 articles
Browse latest View live