How do I select every row except column1 containing "A" or "B"?
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:
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.
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
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
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
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
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
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'
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.
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
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:
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
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
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
Can you have a multi-dimensional array like this? $Test['Fname'] = "John"; $Test['Lname'] = "Doe"; Or do you have to use only numbers?
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
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?
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
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";