squibby's Profile
Reputation: 3
Apprentice
- Group:
- Active Members
- Active Posts:
- 65 (0.13 per day)
- Joined:
- 21-January 12
- Profile Views:
- 863
- Last Active:
May 07 2013 03:16 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: SQL query only returning 1 row
Posted 5 May 2013
Ah yes thanks - i did try left join previously and i got the null values but it wasnt the result i wanted - i had invalid customer id's. So simple really.
Thanks also for the tip on naming. -
In Topic: Cannot get JSON object after AJAX call
Posted 18 Apr 2013
Thanks that got me going in the right direction.
I used a for loop to iterate over the object and extract the result like this:
for (var i in data) { var customer = data[i]; $('#test').show(); $("#test").append(customer.cust_business_name); $("#test").append(customer.cust_contact_name); }
Thanks. -
In Topic: Wordwrap with PHP string problem
Posted 1 Apr 2012
Ok i got it kind of working like this. But is this the way i should be doing it?? Im sure it should work without doing this.
$myString = $row['content']; $myString = wordwrap($myString, 24, "<br />", true); echo "<div class = 'blog-display-post'>". $myString . "</div>" ;
JackOfAllTrades, on 01 April 2012 - 04:44 AM, said:Just to make sure we're all on the same page...the exact same content, all on one line in the first case, wraps fine, but the same content from the DB, all on one line, does not wrap?
Yes this is correct. i will go back and triple check all my code. -
In Topic: creating simple "registration page"
Posted 24 Feb 2012
http://thenewboston.org/tutorials.php
Also if you prefer video tutorials this link is amazing - i learn a lot here. inside the php tutorials will step by step tell you what to do to make a login etc. Maybe a bit easier than the first link if you not used to doing any coding at all.
Finally www.howtomakemywebsite.com will show you how to handcode a pretty good website in about an hour if i remember in one of their tutorials. It will really open your eyes up to how things are done.
All these sites are free too. -
In Topic: creating simple "registration page"
Posted 24 Feb 2012
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
squibby has no profile comments yet. Why not say hello?