About to tear my hair out.
Using LoginRedirect (mpdolan.com) to direct two user groups to different parts of a small site (saeva.co.za). Friends can log in (admin/admin031) but I cannot ('error loggin in").
Switched local Apache off, tried different browser, tried different local computer - same error. Problem seems to be at this end, but where?
I set up a development site (warthog.co.za/saeva) which...
User Profile
Collapse
-
Well, the question is, 'How can I do these things' in MySQL?
Martin -
SELECT from a Contact List
I have a contact list with 'name', 'www' and 'email'. Some entries do not have 'www' or 'email' or both.
I want to save space and make the 'name' a link to the web address only where a web address exists, otherwise leave it as normal text.
Where 'email' exists, I want to put an icon, otherwise be left blank. This arrangement could also work for the 'www' example.
Many thanks,
Martin -
'UPDATE' in MySQL
Is there a way to replace part of a string with a wildcard - i.e...
"*lodges" with "*Lodges"
and also to be able to remove a space - i.e . .
" houses" with "houses".
??
Thanks,
Martin -
Removing spaces in MySQL data strings
This is in relation to BANFA's succinct reply to my post the other day.
I have a bunch of phone numbers that contain one or two spaces and that I want to get consistent by removing them. However,
UPDATE berg SET phone="033" WHERE phone="033 ";
doesn't seem to remove them.
Any ideas?
Thanks,
Martin -
-
Simple Question from an idiot . .
I want to replace one string in a column - for example, a whole lot of 'catsanddogs' with 'Cats and Dogs'. The tablename is 'berg' and the field name is 'type'.
Thanks,
Martin
No activity results to display
Show More
Leave a comment: