I've been trying to figure out how to make preg_replace disallow erroneous characters but allow numbers, letters and the character '_' as this is a seperator in this varioble what I have at...
well I had a look at that and it was designed more for windows XP and was what I had already done but thanks, I have found my php only works if there is a
<?php and wont work if there is just a ...
I do a bit of both, design and code view and keep an eye on what DW does as somethings are quicker to make DW write them, but after about 10 years of it Im still shocked at the crap it creates e.g...
I tried what you suggested with no luck (but much gratitude for your time), but I think its a different problem with my iis/php set up on my pc, i tried running some other simple PHP code locally and...
I have Vista, with iis. I have successfully installed PHP and Mysql, I know this because I can do the php info thingee and access mysql database with the CMD prompt watsit. I have installed...
Thanks guyz
When, i try Phils code it does the same as before, it doesnt show any error messages, when you click the next button that I could give you, it literally does nothing apart from refresh...
I want to protect some pages that Im using to edit a MySQL database. is there some php code I can use to put in these pages to stop anyone from editing the site?
If i have a page with a web link like 'www.blah.com' is there a way I can make it into a link automatically by setting something in the website instead of putting in a <a href... each time?
OK, Now i get this:
UPDATE listings SET logoFileName=NULL, companyName='test555', contactName='test', companyDetails=NULL, tel=NULL, fax=NULL, email=NULL, website=NULL, standNumber=NULL,...
Hi Many thanks, but now I get this error:
'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' WHERE id = 35' at...
Im updating a record in a MySql database. I can edit and delete ok. Im a but new to PHP so please be patient with me.
I keep getting the following error 'Query was empty'.
Here is the PHP code: