Search Results

Showing results 1 to 40 of 62
Search took 0.01 seconds.
Search: Posts Made By: hooray
Forum: PHP Sep 11th, 2009
Replies: 8
Views: 232
Posted By hooray
I have tried it on a new blank page, and it is working, but I cannot get it to work on the original page I was writing....I have even copied and pasted the text from the working one to the original...
Forum: PHP Sep 11th, 2009
Replies: 8
Views: 232
Posted By hooray
OK so that last one was from print_r() var_dump has given much better results:

var_dump($row['log_check']);
returns NULL
Forum: PHP Sep 11th, 2009
Replies: 8
Views: 232
Posted By hooray
Array
(
[0] =>
[log_check] =>
)
Forum: PHP Sep 11th, 2009
Replies: 8
Views: 232
Posted By hooray
That was what I thought originally, but that isn't working either. :-(
Forum: PHP Sep 11th, 2009
Replies: 8
Views: 232
Posted By hooray
I have been trying to use the function is_null to see if a database value is NULL. When I run this I am looking at the database and the value is definitely NULL, but it is not re-directing to the...
Forum: JavaScript / DHTML / AJAX Jul 10th, 2008
Replies: 2
Views: 7,548
Posted By hooray
sorry for the late reply, but this worked perfectly. Thanks :)
Forum: JavaScript / DHTML / AJAX May 23rd, 2008
Replies: 6
Views: 1,767
Posted By hooray
just so you know if you use javascript for this people can still paste things into the textbox, unless you disable ctrl+v and right clicking on the text box ;)
Forum: JavaScript / DHTML / AJAX May 23rd, 2008
Replies: 5
Solved: Firefox help
Views: 927
Posted By hooray
actually its not working in ie as far as I can tell, not just firefox. it gives just this:

<input type="text" name="banner" size="43"
Forum: JavaScript / DHTML / AJAX May 23rd, 2008
Replies: 5
Solved: Firefox help
Views: 927
Posted By hooray
do you have javascript off in your firefox browser??
Forum: JavaScript / DHTML / AJAX May 23rd, 2008
Replies: 5
Solved: Firefox help
Views: 927
Posted By hooray
dude, you have comment tags around the whole thing <!-- ...... -->
I don't know if that might change anything by taking those out, but try it and see
Forum: JavaScript / DHTML / AJAX May 23rd, 2008
Replies: 2
Views: 7,548
Posted By hooray
Hi guys,

I am trying to make a javascript function that will add "000" to the end of a textbox value if the user presses k and also add "000000" if they press m. So i don't want the k or m to...
Forum: MySQL Mar 10th, 2008
Replies: 4
Views: 1,051
Posted By hooray
I would guess you're using PHP since you're in the MySQL forum, so I would suggest simply making a new table in your database with all the things people have searched for (from the look of your page...
Forum: MySQL Feb 21st, 2008
Replies: 3
Views: 2,577
Posted By hooray
I can help with the splitting the code after each comma, I had a similar problem to this recently and came up with this solution (I couldnt put it in code tags because then it wouldnt highlight the...
Forum: JavaScript / DHTML / AJAX Feb 21st, 2008
Replies: 3
Views: 1,216
Posted By hooray
thanks katarey, that was exactly what I was looking for
Forum: JavaScript / DHTML / AJAX Feb 20th, 2008
Replies: 3
Views: 1,216
Posted By hooray
Hi, i have a form on my website, and I would like to have a text box next to another text box that displays how many letters the user can type into the box eg:


<td><input type="text"...
Forum: Database Design Jan 31st, 2008
Replies: 2
Views: 1,664
Posted By hooray
I dont know too much about access, but Im sure you can input sql commands somewhere, heres the sql i would use

SELECT employee_ID
FROM available_numbers
LIMIT 0, 1

the LIMIT 0, 1 just picks...
Forum: JavaScript / DHTML / AJAX Jan 31st, 2008
Replies: 1
Views: 863
Posted By hooray
I am a Javascript newb, and I am haveing some trouble with my arguments.


function openMenu(tableName) {
document.getElementById(tableName).style.visibility="visible";
}


This is the code...
Forum: PHP Jan 25th, 2008
Replies: 1
Views: 564
Posted By hooray
I have a search box on my website, that allows users to look for items that have been posted by other users, I am using this code a the moment, but there is a problem with it
...
Forum: PHP Jan 24th, 2008
Replies: 3
Views: 790
Posted By hooray
good idea, thanks :)
Forum: PHP Jan 24th, 2008
Replies: 3
Views: 790
Posted By hooray
I forgot to mention before that user_ID is set to auto_increment in the USER table
Forum: PHP Jan 24th, 2008
Replies: 3
Views: 790
Posted By hooray
Ok im not sure wether this counts as a php question or a database question, but ill put it here anyway.

I have two fields in a database, one of which holds a foreign key that is a primary key from...
Forum: PHP Jan 24th, 2008
Replies: 6
Views: 6,245
Posted By hooray
You make a good point, but would that store 'checked' or 'unchecked' in the database??
Forum: PHP Jan 24th, 2008
Replies: 6
Views: 6,245
Posted By hooray
Hopefully this will give you an idea that you can adapt into your code, if not then ask again

<?php
if(isset($_POST['box01']))
{
$box01 = 1;
}
else
{
$box01=0;
Forum: PHP Jan 23rd, 2008
Replies: 18
Views: 1,375
Posted By hooray
Well now thats a unique idea......whoa....whoa....whoa....wait a minit isnt that the exact same thing nav33n just said :P

I also reccomend adding a user_id field to the table, it makes things a...
Forum: Database Design Jan 23rd, 2008
Replies: 2
Views: 1,215
Posted By hooray
Ok here is how i would design the database for this, it is in the format
TABLENAME(primary_key**, foreign_key *, other field, other field)//notes
(each table has start_date and end_date at the end...
Forum: PHP Jan 22nd, 2008
Replies: 7
Views: 4,790
Posted By hooray
Im going to ask a few more questions just to make sure i understand.

Where does the query come from (eg: the drop down box, a different drop down box, a text box)

Does the query come from the...
Forum: JavaScript / DHTML / AJAX Jan 21st, 2008
Replies: 6
Views: 6,399
Posted By hooray
woo that was me :P

Maybe there is a way to stop the user from pressing the control key (maybe display an alert box when they press control in the box) obviousley the same applies to right-click...
Forum: JavaScript / DHTML / AJAX Jan 21st, 2008
Replies: 6
Views: 2,547
Posted By hooray
thanks guys, this is how i fixed it:


if (opt=="none"){document.f.states.disabled=true}
else {document.f.states.disabled=false}
Forum: PHP Jan 21st, 2008
Replies: 2
Views: 1,074
Posted By hooray
Forum: JavaScript / DHTML / AJAX Jan 21st, 2008
Replies: 6
Views: 2,547
Posted By hooray
Hi I have some code here that fills a dropdown box from an array depending on what is selected in another dropdown box. One of them is disabled, and i would like to stop that once an option has been...
Forum: PHP Jan 21st, 2008
Replies: 2
Views: 1,074
Posted By hooray
Hi guys, i am writing this piece of code, it is building some javascript. I have got it working exactly the way I would like, apart from in the while loop, I would like to reomve the comma on the...
Forum: PHP Jan 21st, 2008
Replies: 23
Views: 12,971
Posted By hooray
you say you have problems sending it to multiple addresses, but its fine for one. Maybe theres a format error, like you didnt put a , after each email or wrap the emails in "":

To:...
Forum: PHP Jan 21st, 2008
Replies: 7
Views: 6,452
Posted By hooray
you are most welcome :)
Forum: PHP Jan 21st, 2008
Replies: 7
Views: 4,790
Posted By hooray
Ok for this example i have put the option building into the code from the database


<?php
$conn=mysql_connect("localhost","root","") or die(mysql_error());
mysql_select_db("testbase") or...
Forum: PHP Jan 21st, 2008
Replies: 7
Views: 4,790
Posted By hooray
Ok so are you saying that you already have the values of the options in HTML, or are the values selected from the database??
Forum: PHP Jan 21st, 2008
Replies: 7
Views: 6,452
Posted By hooray
yes, but you would have to do that in php as $aid is a php variable, so it would be:


<?php
echo "<a href='template.php?aid=" . $aid . "'>Read more...</a>";
?>


OR
Forum: PHP Jan 21st, 2008
Replies: 7
Views: 6,452
Posted By hooray
This is a very simple example, but you can build on it:

I am sure you know how get works, but ill put it here anyway, this link sets $_GET['article'] to 1001 on my localhost: ...
Forum: PHP Jan 21st, 2008
Replies: 7
Views: 4,790
Posted By hooray
I do not entirley understand the question, do you mean that you want to have some set variables, then one of them from a database, or do you want all of the options to be from the database??

Here...
Forum: PHP Jan 21st, 2008
Replies: 3
Views: 611
Posted By hooray
Well I would suggest that you put the first name and last name into separate fields. I think it is because it doesnt post spaces or anything after them. Perhaps you could have an underscore if you...
Forum: HTML and CSS Jan 21st, 2008
Replies: 2
Views: 3,215
Posted By hooray
I have tested for IE7 and couldnt get any change in the text at all inside the dropdown menu
Showing results 1 to 40 of 62

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC