Search found 44 matches
- Tue Feb 02, 2010 12:11 pm
- Forum: Javascript
- Topic: [SOLVED] Problem reading XML with AJAX in IE.
- Replies: 1
- Views: 645
Re: [SOLVED] Problem reading XML with AJAX in IE.
Don't know why, but the problem here was the name of the variable "topo". I just renamed it to "topoB", and then everything was ok. :banghead: Is "topo" a reserved word in Internet Explorer? Some time ago I had the same problem with a variable named "link". WT...
- Tue Feb 02, 2010 11:57 am
- Forum: Javascript
- Topic: How to make <input> field visit when <option> is selected
- Replies: 8
- Views: 1748
Re: How to make <input> field visit when <option> is selected
Try this: <script> function updateSelect(obj) { span = document.getElementById("salt"); if(obj.options[obj.selectedIndex].value == "alternative") { if(span.style.display == "none") span.style.display = "inline"; } else ...
- Mon Feb 01, 2010 11:04 am
- Forum: Javascript
- Topic: How to make <input> field visit when <option> is selected
- Replies: 8
- Views: 1748
Re: How to make <input> field visit when <option> is selected
hehe. Sorry for my lack of attention. Now it works. <script> function updateSelect(obj){ span = document.getElementById("salt"); if(obj.options[obj.selectedIndex].value == "alt"){ if(span.style.display == "none") span.style.display = "bl...
- Sun Jan 31, 2010 4:43 pm
- Forum: Javascript
- Topic: How to make <input> field visit when <option> is selected
- Replies: 8
- Views: 1748
Re: How to make <input> field visit when <option> is selected
Well, for showing/hiding the input: <script> function updateSelect(obj){ span = document.getElementById("salt"); if(obj.options[this.selectedIndex].value == "alt"){ if(span.style.display=="none") span.style.display = "block"; ...
- Sun Jan 31, 2010 2:09 pm
- Forum: Javascript
- Topic: [SOLVED] Problem reading XML with AJAX in IE.
- Replies: 1
- Views: 645
[SOLVED] Problem reading XML with AJAX in IE.
Hello there! :) I'm with a problem in my ajax code when using IE8. In Firefox everything works perfectly though. What I'm trying to do is retreiving data from a XML that's generated based on data from the database. Here's the error the browser returns: Use Agent: Mozilla/4.0 (compatible; MSIE 8.0; W...
- Wed Jan 06, 2010 2:24 pm
- Forum: Databases
- Topic: Need help with a mysql query, selecting multiple tables.
- Replies: 7
- Views: 1369
Re: Need help with a mysql query, selecting multiple tables.
Thank you very much, dude.
I found a way to do what I wanted with php.
I found a way to do what I wanted with php.
- Fri Jan 01, 2010 6:24 pm
- Forum: Databases
- Topic: Need help with a mysql query, selecting multiple tables.
- Replies: 7
- Views: 1369
Re: Need help with a mysql query, selecting multiple tables.
Well, thanks for the answer, but that won't work in this case. As I said, I want to get the categories' titles and all the subcategories related to each of these categories. For example, I have the categories "animals" and "cars". "animals" has, let's say, three subcate...
- Fri Jan 01, 2010 4:25 pm
- Forum: Databases
- Topic: Need help with a mysql query, selecting multiple tables.
- Replies: 7
- Views: 1369
Re: Need help with a mysql query, selecting multiple tables.
Oh... Now I'm with a problem in another query... What I want now is to get the categories' title and all the subcategories related to them in just one query. In order to get the subcategories, I could access the database for each category returned in a first query, but that would take a lot of resou...
- Fri Jan 01, 2010 4:04 pm
- Forum: Databases
- Topic: Need help with a mysql query, selecting multiple tables.
- Replies: 7
- Views: 1369
Re: Need help with a mysql query, selecting multiple tables.
Oh, thanks AbraCadaver!
Actually mine works. I hadn't tested it.
However, I'm using yours, just cause it looks better.
Actually mine works. I hadn't tested it.
However, I'm using yours, just cause it looks better.
- Thu Dec 31, 2009 9:28 am
- Forum: Databases
- Topic: Need help with a mysql query, selecting multiple tables.
- Replies: 7
- Views: 1369
Need help with a mysql query, selecting multiple tables.
Hello there, dudes. I have a problem, to which I have no solution. I have four different tables and need to retrive data from all of them at once. To the tables: Announcements, from which I need all the data; Categories, from which I need to grab the announcement's category title; Subcategories, fro...
- Tue May 12, 2009 6:50 pm
- Forum: PHP - Security
- Topic: :?: Escaping data :?:
- Replies: 8
- Views: 2600
Re: :?: Escaping data :?:
Of course, that's what I meant. Thanks, everybody! 
- Tue May 12, 2009 6:43 pm
- Forum: PHP - Security
- Topic: :?: Escaping data :?:
- Replies: 8
- Views: 2600
Re: :?: Escaping data :?:
Hey, thanks for the links. Now this is much more clear for me. One more thing, though: doing something like $query = sprintf("SELECT * FROM Users where UserName='%s' and Password='%s'", mysql_real_escape_string($Username), mysql_real_escape_string($Passw...
- Tue May 12, 2009 12:41 pm
- Forum: PHP - Code
- Topic: mail() not mailing.
- Replies: 5
- Views: 191
Re: mail() not mailing.
Hey, thanks you very much.
I had three sites with this problem. Your suggestion helped me to fix two of them. The other one, however, is still not sending the emails.
Alright, I'm gonna goolgle to try to solve this.
Thanks!!
I had three sites with this problem. Your suggestion helped me to fix two of them. The other one, however, is still not sending the emails.
Alright, I'm gonna goolgle to try to solve this.
Thanks!!
- Tue May 12, 2009 12:25 pm
- Forum: PHP - Security
- Topic: :?: Escaping data :?:
- Replies: 8
- Views: 2600
Re: :?: Scaping data :?:
Hm... yeah, thanks, but this doesn't tell me much.
Why should I escape data before inserting it into a database?
Why should I escape data before inserting it into a database?
- Tue May 12, 2009 11:24 am
- Forum: PHP - Security
- Topic: :?: Escaping data :?:
- Replies: 8
- Views: 2600
:?: Escaping data :?:
Around the internet I found many pages talking about security. Among them, some told me to escape the data before inserting it into a database. Now, what does "escape data" mean? How and why am I supposed to do this?
Thanks.
Thanks.