Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 39
Search took 0.01 seconds.
Search: Posts Made By: Greywacke
Forum: Ajax January 14th, 2010, 11:25 AM
Replies: 3
Views: 1,569
Posted By Greywacke
Talking awesome, i finally got the ajax working by...

awesome, i finally got the ajax working by referencing the attributes directly :D
Forum: Ajax January 14th, 2010, 05:58 AM
Replies: 3
Views: 1,569
Posted By Greywacke
Angry AJAX: definately getting blank/undefined values in subarrays...

this code has been edited, both the alertContents and the insertstats functions... i can now retrieve numeric attributes, but not string attributes apart from the section names... wth? even tried...
Forum: Ajax January 13th, 2010, 07:19 PM
Replies: 3
Views: 1,569
Posted By Greywacke
Question success! well somewhat...

now i have managed to get the 5 multiple calls, just battling to parse the xml... i am struggling to parse the month tags and their attributes as well as the statistic attributes and their tags, and...
Forum: Ajax January 13th, 2010, 12:37 PM
Replies: 3
Views: 1,569
Posted By Greywacke
Arrow attempting to load xml data into two twodimentional arrays

hi here,
there is a dynamic xml file i'm struggling to parse for the 5 sidebar components on the pages at http://www.ferrety.co.za/fab/?p=0.

the xml files the javascript is supposed to parse are...
Forum: Ajax January 13th, 2010, 12:31 PM
Replies: 0
Views: 915
Posted By Greywacke
Thumbs down this thread can be deleted my internet is whacky and posted twice

this thread can be deleted my internet is whacky and posted twice.
my apologies.
Forum: Pro PHP January 1st, 2010, 04:14 AM
Replies: 2
Views: 3,936
Posted By Greywacke
Talking yay success!!! XD

i've gotten it to work yay! don't be working when u'r tired hey! [:D] lol

$tsql = "SELECT * FROM 7_blacklist WHERE `text_E-mailAddress` = \"".$consumeremail."\";\n";
$sql .=...
Forum: Pro PHP December 31st, 2009, 04:14 PM
Replies: 2
Views: 3,936
Posted By Greywacke
Unhappy what the heck now???

woops, forgot the double quotes around the inserted string :P

pity that didn't do a thing to the results :(

here follows the code i am trying to use now.


$tsql = "SELECT *...
Forum: Pro PHP December 31st, 2009, 03:35 PM
Replies: 2
Views: 3,936
Posted By Greywacke
Angry how to check if a record does NOT exist in a table?

hi, i'm trying to check wether an email address is in the blacklisted table.

here is the code i am using atm,

$consumerfullname = $_POST["text_consumerfullname"]; ...
Forum: Pro PHP December 31st, 2009, 10:09 AM
Replies: 1
Views: 828
Posted By Greywacke
Talking issue solved

okay, it inserts again and runs through the loops. the problem was the missing $result1 = mysql_query($sql1);. so much code you don't even notice the simple things 0o
Forum: Pro PHP December 31st, 2009, 07:38 AM
Replies: 1
Views: 828
Posted By Greywacke
Unhappy trying to insert record but i don't know why it does not

this is the sql that is processed but returns 0 errors. i realise it is incomplete, but why does it get chopped off? i did use the mysql_real_escape_string() function around the attributes array...
Forum: Pro PHP December 31st, 2009, 06:53 AM
Replies: 5
Views: 2,412
Posted By Greywacke
Talking okay, i guess this issue is resolved now, not...

okay, i guess this issue is resolved now, not putting the attributes on their own lines. the \n was removed. it would still be helpful to know how to insert a new line as a seperator with join...
Forum: Pro PHP December 31st, 2009, 06:36 AM
Replies: 1
Views: 821
Posted By Greywacke
Wink i've decided to rather move on to other debugging...

i've decided to rather move on to other debugging problems before i'll come back to this one.
Forum: MySQL December 31st, 2009, 06:33 AM
Replies: 1
Views: 1,105
Posted By Greywacke
Talking seems i do not need to use a LEFT JOIN for what i...

seems i do not need to use a LEFT JOIN for what i need, but rather a plain JOIN. this issue has been resolved.
Forum: Pro PHP December 31st, 2009, 04:26 AM
Replies: 5
Views: 2,412
Posted By Greywacke
Question > this post can be closed, resolved this issue. ...

> this post can be closed, resolved this issue.

apparently not yet. how can i get the joined array to be by a <br /> tag followed a new line? for some reason it's not parsing the string as...
Forum: Pro PHP December 31st, 2009, 03:00 AM
Replies: 5
Views: 2,412
Posted By Greywacke
Red face also noticed the extra parameter in the first...

also noticed the extra parameter in the first array_push() method.
Forum: Pro PHP December 31st, 2009, 02:30 AM
Replies: 5
Views: 2,412
Posted By Greywacke
Unhappy i've added the array() method around the...

i've added the array() method around the $_POST["attribute"] request to ensure it's an array. that solved the error, but now it doesn't step through the first $key = attribute $val = 1... only the...
Forum: Pro PHP December 31st, 2009, 01:25 AM
Replies: 5
Views: 2,412
Posted By Greywacke
Unhappy trying to pass the array of $_POST form variables through a function

hi,
i'm trying to get the variable $attribs to contain the array of attribute descriptions and values from the database, but i keep getting the following error passed through ajax.

Warning: ...
Forum: MySQL December 30th, 2009, 05:55 AM
Replies: 1
Views: 1,105
Posted By Greywacke
Question how to do a joined select from two tables? PLEASE HELP!

hi there,
i'm totally noob to mysql inner joins, but i need to know how do i select all the fields/columns and records in table a where a.someid = number1 AND a.anotherid = number2, and all the...
Forum: Pro PHP December 29th, 2009, 11:45 AM
Replies: 1
Views: 1,452
Posted By Greywacke
Question Formatting phone number

have you tried a more basic approach yet? like the following:

only allow numeric input on this textbox and limit by 10 numbers in form validation:

<form id="form1" name="form1" method="post"...
Forum: Pro PHP December 29th, 2009, 10:23 AM
Replies: 1
Views: 821
Posted By Greywacke
Exclamation battling to get similar xml output in php in line 64-87 as in 31-63.

the problem is in line 64-87, trying to select the "linked" attributes (to the individual suppliers) and order them by service (region) like the block between lines 31-63 (available services,...
Forum: Moderated Pro PHP December 29th, 2009, 10:13 AM
Replies: 0
Views: 1,260
Posted By Greywacke
Angry battling to select the data correctly from mysql

the problem is from line 64-87, trying to select the "linked" attributes (to the individual suppliers) and order them by service (region) like the block between lines 31-63 (available services,...
Forum: Pro VB 6 March 4th, 2004, 04:13 PM
Replies: 4
Views: 1,504
Posted By Greywacke
sorry, but i have to strongly argue... works fine...

sorry, but i have to strongly argue... works fine now, and the problems were incorrect field names, as one of the developers changed the mdb... i counted the incorrect field names, and yes, there...
Forum: Pro VB 6 March 4th, 2004, 07:35 AM
Replies: 4
Views: 1,504
Posted By Greywacke
nevermind, found prob, but now it gives Expected...

nevermind, found prob, but now it gives Expected 2 o.0

will have to find out yet what the numbers mean in that expected N part of the error...

Sincerely,
Pierre du Toit.
Forum: Pro VB 6 March 4th, 2004, 07:34 AM
Replies: 4
Views: 1,504
Posted By Greywacke
hmmm... commented on error resume next, that with...

hmmm... commented on error resume next, that with response bit ain't writing cause of gwRS not being instantiated. now i get the following error:

Microsoft OLE DB Provider for ODBC Drivers...
Forum: Pro VB 6 March 4th, 2004, 07:12 AM
Replies: 4
Views: 1,504
Posted By Greywacke
If err.number <> 0 probs in subroutine

okay... i have gone though the code, sifted as much as possible, and as a result the following code only writes the line numbers...

Response.Write "1723:"
With Response
.Write "<TABLE WIDTH=100%...
Showing results 1 to 25 of 39

 


All times are GMT -4. The time now is 02:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.