I have a very simple backend to a news section of a website. It is written in PHP in Dreamweaver using a MySQL database. It allows the user to add, amend and remove news items. The current fun...
Hi There,
I have issues with an email newsletter that is due to be sent.
I have to put in a £ sign in the text version and HTML version of my newsletter.
I have a database table with ...
I started a question about two weeks ago and have finally gotten a chance to work it. I was unable to get the solution, so, I am starting another one and whoever gets my solution fixed, gets ...
Hello,
The problem with my code is that some databases do not contain fields for "extra1Width" and "extra2Width".
This causes a database error.
How can I automatically ADD these fiel...
I need to update/delete foxpro dbf files which reside in a linux server by using PHP. dbase functions in PHP dont help. I heard of ODBTP but i not sure how to connect dbf since there are no dr...
I have 2 radio buttons on a form and when one is checked and submited i would like it to go into my database which is created with phpmyadmin. When i click submit, all my text feilds go into t...
Hi,
I'm trying to connect to a MSSQL 2000 server using PDO ODBC. On Windows, things work fine. I'm now trying to get thing working on Linux (Ubuntu), but having problems. I'm not sure if...
Hi,
I have a text file that has multiple lines. What I want to be able to do is split each line down into an array of variables and echo out to a page. e.g.
Text file:
120908 file 1
3...
I have searched and found various options, yet most entail conversion to CSV yet the output is less than acceptable. Is there a way to generate an .xls that would include basic formating?
The following snippet of code is supposed to change ownership and permissions, then move a quarantined file to the specified user's Maildir.
<?php
$path_quarantine = "/var/virusmai...
Hi. I have a database with the following fields: ID, Model, Products Name, Manufacturer. I use dreamweaver to setup my website. I figured out how to setup master and detail pages. My question ...
Hello All,
I get this error when I try to update a column in the table:
"UPDATE statement conflicted with COLUMN FOREIGN KEY constraint 'FK__Homepage_Pr__uid_34C3T432'. The conflict occur...
I have a working web application with multiple tables. I need to write a small PHP script that when it runs, deletes records from a table if the value of its first column is NOT found in a se...
Hello Guy,
I´m trying to use a text form field with autocomplete function (the data comes from mysql database). I tried to use the dmsautocomplete script but I cant get this script ...
I want to take an Excel file could be .csv and insert it into a table into mySQL using PHP programming.
How can I do this?
Thanks,
Jeff
See my query below.
I have a table called cbacks, which has a column named reason_code. In this column there are lots of entries such as "Code 30" "Code 27", etc.
I am trying to build a...
Linux server, running apache and PHP.
Have a directory on the server called START. START has lots (thousands) of PDF files copied into it daily.
Have PHP script that is working that cop...
I have a form that displays the data that is currently in the database. I want to change some of the form fields to List/Menus, but am having trouble. Can someone help. In this example, I want...
I have a set of 3 radio buttons with this coding. I need the first one (RESI) to be checked by default. Please advise how to do this, I keep screwing up the syntax.
<input type="rad...
Hi,
I am quite new to PHP and MySQL so I am a little stuck and I hope you can help.
I have created a database containing 1 table for bathroom products that we sell, the db is called bath...
I have an exisitng web app written in PHP, that allows the user to upload a csv file and it imports the data into a mysql table.
My client is now complaining about converting xls files to c...
I am having trouble with how the excel file looks once it gets exported. The exported excel file displays all the content in a single cell. In other words, all of the columns and rows in the M...
I want to be able to take a textbox and prefill it with the variable from mysql query.
I want to use the variable from this section; and prefill a textbox
$ifs = mysql_query("SELECT final_...
Hi all,
I'm a bit new to this but I wish to install the pdo_mysql module on my shared server environment
I have access to the /php/ext folder and also php.ini
The server details are a...
I have a mysql table for my statistics with these data records
DATE LOADS UNIQ
2008-09-09 56 25
2008-09-10 38 30
2008-0...