Search found 25 matches

by newphper
Thu Jul 07, 2011 3:58 pm
Forum: General Discussion
Topic: Web Design Code Editor
Replies: 0
Views: 679

Web Design Code Editor

Just wondering if any one else is using the Web Design Code Editor on this forum ? http://www.ragesw.com/products/webdesign.html I have been using the trial version and thinking of paying the $70 to have it licensed. I like the interface and the wysiwyg. Has anyone had any issues with this editor ? ...
by newphper
Thu Jul 07, 2011 12:05 am
Forum: HTML, CSS and other UI Design Technologies
Topic: Using Check Boxes
Replies: 2
Views: 1641

Using Check Boxes

I have a snippet of code here that is "the same but different". What would be the difference do you think ? The VALUE="yes" is placed differently for some reason ......? To have a checkbox checked by default maybe ?? <INPUT TYPE=CHECKBOX NAME="intelligent" <?php if($row...
by newphper
Wed Jun 29, 2011 3:59 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Inserting link into email problem
Replies: 7
Views: 3644

Re: Inserting link into email problem

Ok, thanks for explaining. I am basically learning "on the job" and I have to be very careful I don't "break" the live website............ I have a few coding jobs that are a bit much for me, is anyone on this forum qualified enough to do a bit of casual paid work on an establish...
by newphper
Sun Jun 26, 2011 6:33 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Inserting link into email problem
Replies: 7
Views: 3644

Re: Inserting link into email problem

What I do not yet understand is why it works in that piece of code... To make it work elsewhere in the same file...(there are numerous email mailouts) the <a href ...</a> element needed to be used. The email piece of code before that one has the <a href ...</a> element used in it. Can anyone explain...
by newphper
Fri Jun 24, 2011 10:43 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Inserting link into email problem
Replies: 7
Views: 3644

Re: Inserting link into email problem

I managed to get it to work

This is what worked, don't get why it didn't need the A href stuff, but it works.

Code: Select all

$mesg .= "\n\nIf you would like to attend, click here to book in http://www.mywebsite.com.au/event_booking_new.php?events_id=";
$mesg .= $event_id;
by newphper
Thu Jun 23, 2011 7:17 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Inserting link into email problem
Replies: 7
Views: 3644

Re: Inserting link into email problem

Thanks for your advice Apollo, problem is I have tried your suggestion and I guess it may be a syntax error on my part. I look after the website and have managed to figure out most issues, but not this one. This is the code snippet, if you can solve the problem, we are happy to pay you for your effo...
by newphper
Wed Jun 22, 2011 11:57 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Inserting link into email problem
Replies: 7
Views: 3644

Inserting link into email problem

Hello Internet, Can anyone work out why my bit of code here wont work for me ? I am having a problem working out why the second lot works and the first part doesn't. The link "http://www.mywebsite.com.au" works The link "event_booking_new.php?events_id="; $mesg .= $event_id; DOES...
by newphper
Wed Jun 08, 2011 5:29 am
Forum: Databases
Topic: Passing variables using php and querying mysql db
Replies: 2
Views: 1409

Re: Passing variables using php and querying mysql db

Celauran, You were on the right track, but I do have a trade_id assigned to a trade_type. Thank you. My problem was when I started out I had multiple phone fields...phone_home, phone_work, phone_mobile you get the idea. I cut it back to just mobile and it could not find it as the field was phone_mob...
by newphper
Sun Jun 05, 2011 1:49 am
Forum: Databases
Topic: Passing variables using php and querying mysql db
Replies: 2
Views: 1409

Passing variables using php and querying mysql db

I am new at this and going ok, but...can anyone tell me what i am doing wrong in this code please ? My database fields names seem to be correct and I fail to see any syntax error atm..... <?php //error_reporting(E_ALL); ///////////////////////Connect to the database and close the connection when fin...
by newphper
Fri Jun 03, 2011 1:53 pm
Forum: Databases
Topic: How to fix root password problem ?
Replies: 3
Views: 1427

Re: How to fix root password problem ?

Thank you for your help and advice, I actually used time machine to fix the problem.

For the time being it was the easiest way until I learn more about the MySql commands.

I also found a tool called Tinker Tool, this seems a handy program for macs, have only had my first mac for 2 months now.
by newphper
Sun May 29, 2011 4:11 pm
Forum: Databases
Topic: How to fix root password problem ?
Replies: 3
Views: 1427

How to fix root password problem ?

Hello, I just reinstalled snow leopard and am having some problems logging into mysql now. Does anyone know the answer to this problem ? Below is what happens when I try to login through terminal Last login: Mon May 30 06:09:35 on ttys000 reg:~ regellis$ /Library/StartupItems/MySQLCOM/MySQLCOM start...
by newphper
Sun May 22, 2011 1:30 am
Forum: Databases
Topic: Displaying Error if no matching data in table
Replies: 11
Views: 2818

Re: Displaying Error if no matching data in table

Problem Solved :D Now on to the next one ..... Thanks for your interest and advice Jade. ///////////////////////////////// Gather and Display area_id ////////////////////////////// $res=mysql_query("SELECT area_id FROM pc_test WHERE postcodes = '".$_POST['postcode']."'"); while (...
by newphper
Sat May 21, 2011 2:06 am
Forum: Databases
Topic: Displaying Error if no matching data in table
Replies: 11
Views: 2818

Re: Displaying Error if no matching data in table

If i add an if statement to the following code, the message, No postcodes match area_id. is displayed.... But have about 7 postcodes with the id of 1 in my pc_test table, the code is not quite right somewhere.... $res3=mysql_query("SELECT postcodes FROM pc_test WHERE area_id = '".$_POST['p...
by newphper
Sat May 21, 2011 1:35 am
Forum: Databases
Topic: Displaying Error if no matching data in table
Replies: 11
Views: 2818

Re: Displaying Error if no matching data in table

this one is driving me nutty.....

Code: Select all

WHERE area_id = '".$_POST['postcode']."'
if I replace (area_id) with (postcodes), the postcode entered by user is displayed

I just need it to show all postcodes associated with the area_id.
by newphper
Fri May 20, 2011 10:04 pm
Forum: Databases
Topic: Displaying Error if no matching data in table
Replies: 11
Views: 2818

Re: Displaying Error if no matching data in table

Unfortunately, my query has an error in it somewhere... I have tried quite a few different ways, yet to manage the right way :( The code below seems close to me, but I am missing something, it displays nothing at all. ////////////////// Gather and Display postcodes relating to area_id //////////////...