Php

Advertisement

Column1='A' AND Column1='B'

Column1='A' AND Column1='B'

How do I select every row except column1 containing "A" or "B"?
Problems With Variable Coding

Problems With Variable Coding

I'm having some problems with a site that I am working on. I've been working on building a content management system that will allow me to sort the links in my navigation pannel and also open up a sub pannel in the menu Code:
Issuing An Email On Little Web Page?

Issuing An Email On Little Web Page?

Could some kind person please direct me to a nice tutorial for PHP 5 that sets out how to get PHP to issue an email when a webuser has successfully logged into the members page of a little website.
Error: Syntax Error, Unexpected T_BOOLEAN_AND In Line 35

Error: Syntax Error, Unexpected T_BOOLEAN_AND In Line 35

I have managed to write a login script to allow users to register or login. What i am looking to do now is to create an admin user who would be able to manage all users. To start off I have added an extra column admin to my users_table where 1 would
Can You "glue" Images Together?

Can You "glue" Images Together?

I'd like to dynamically build a navigation menu from some input file with all the necessary data... the way I do it now, is I manually create the required images... Obviously, it would be nice to be able to modify the navigation menu by changing data
Log Url Link Throughs To File

Log Url Link Throughs To File

I'm putting an advert onto my company website and the client has requested to know the amount of traffic the advert attracts (a click through). How can I incorporate php to log all click throughs to a file on the server for the client? Can I use some
Obscuring Link To File?

Obscuring Link To File?

I have created a login area which simply lists files in a folder structure on the server and users can click the link to view/download the files, however at the moment there is nothing stopping a user from sending the absolute path to the file on the
Specify A Link To A PDF File

Specify A Link To A PDF File

How do I specify a link to a PDF file in a local subfolder such as pdf/order_form_print.pdf? The lines below are my quesswork so far. The HREF line causes a parse error in a PHP syntax checker. <?php define('NAVBAR_TITLE', 'Printable Order Form'); de
Error When Transcoding

Error When Transcoding

when i convert a uploaded file to UTF-8 with the utf8_encode function,the string is prefixed by the two characters. The file is originally encoded as UTF-16. Can anybody tell me,why this happens? Code: if (isset($_FILES['Datei']) and !$_FILES['Datei'
MySQL Over MS SQL Server?

MySQL Over MS SQL Server?

Is using php with MS SQL server over MySQL a good practise? Ive been using MySQL for quite sometime and what I like about it is that it is free. Are there any advantages of using MS SQL server over MySQL? Or any challenges.
Cannot See The MySQL Server?

Cannot See The MySQL Server?

Does this mean that my php file cannot see the mySQL server that I have running on my system? If so, what things should I look into to get this sorted.Today's Date (according to this Web server) is 1
MySQL From One Server To The Other

MySQL From One Server To The Other

I'm trying to figure out how to make one host connect to mine who's on a different server. We're going to use one massive user db, for a gaming network. Code:
Mysql Server Gone Away?

Mysql Server Gone Away?

When running a script, I get the following error: Code: MySQL server has gone away I know that the mysql server is there, because I have a forum that uses the same Mysql server, and it works perfectly fine. All my script does is insert rows into a ta
Best Server For PHP &amp; MySQL

Best Server For PHP &amp; MySQL

Which of the servers below would be the best for a high traffic PHP & MySQL server. Sun Ultra 1 256 mb ram 4Gb SCSI OR dual PIII 550Mhz 512mb ram 4Gb SCSI OR Sun Ultra 10 256 mb ram 4Gb SCSI
PHP/MySQL On Sun Server

PHP/MySQL On Sun Server

My manager of a project I have been working on wants to move to a sun server from the current unix box. I was just wondering is there any problems with this? Will all the coding still work or will I need to modify some things? The whole site is PHP/M
MultiDimensional Array Question

MultiDimensional Array Question

Can you have a multi-dimensional array like this? $Test[0]['Fname'] = "John"; $Test[0]['Lname'] = "Doe"; Or do you have to use only numbers?
Date Text Problem -- New To PHP

Date Text Problem -- New To PHP

I don't know PHP, but I was told that I could come and do what I am trying to do in PHP. I need to make text show on a set date, such as Friday, August 18, 2006. The text then needs to stay there normal. The visitor clicks a link that says, click her
Get Date From Text/php-file

Get Date From Text/php-file

I got it going. Now i have another question; Is there a way to link a date to a persons name, so i can get the pop-up, and the pop-up then automatically grabs the right name, and displays it?
Mysql_num_rows Not Working

Mysql_num_rows Not Working

Im trying to figure out if a user has already downloaded something so im seeing if they have a uid (user id) in the database along with the nid (note id) that they are trying to download. I echoed out the sql and it returned this: QuoteSELECT * FROM
PDO Version Of Mysql_num_rows(); ?

PDO Version Of Mysql_num_rows(); ?

I need the PDO equivalent of mysql_num_rows. I thought this would work but it doesn't: $numrows = $pdo->query("SELECT * FROM tipsntricks")->fetchAll(); echo "There were " . count($numrows) . " rows in the table";
« Prev 1 2 3 4 5 6 7 8 9 ... 10 Next »