Search Results

Showing results 1 to 40 of 45
Search took 0.01 seconds.
Search: Posts Made By: DiGSGRL
Forum: MySQL Jan 30th, 2009
Replies: 6
Views: 795
Posted By DiGSGRL
If you want the where to be contingent upon all the AND statements put them in parens.
eg:
WHERE (
AND a.paksh = b.paksh
AND a.tithi = b.tithi
AND b.date BETWEEN CURdate( )
AND (CURdate( ) +9)...
Forum: Posting Games Jan 5th, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: PHP Jan 4th, 2009
Replies: 13
Views: 2,456
Posted By DiGSGRL
http://www.w3schools.com/Ajax/ajax_intro.asp
Thats a link to an AJAX tutorial from w3schools, maybe that will be helpful hehe.
Forum: PHP Jan 4th, 2009
Replies: 13
Views: 2,456
Posted By DiGSGRL
Sorry I am not very familiar with javascript. I did just check the event is used as onsubmit not onSubmit. But yea I do not think that is what you are looking for anyways.

I totally missed that...
Forum: PHP Jan 4th, 2009
Replies: 13
Views: 2,456
Posted By DiGSGRL
you can use onSubmit instead. So the action takes place when the form is submitted.
And yes the header would cause a refresh of the page because it would go to the php page then back.
Forum: Posting Games Jan 4th, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
788
Soon the three of us on team B will just give up and realize we are the B team.
Forum: PHP Jan 4th, 2009
Replies: 7
Solved: urgent help...
Views: 366
Posted By DiGSGRL
Take the table out of the while loop.
Use the while loop to create your image array.

$i=0;
while ($rows = mysql_fetch_array ($Img_result, MYSQL_ASSOC))
{
$imageArray=$rows['filename'][$i};...
Forum: PHP Jan 4th, 2009
Replies: 7
Solved: urgent help...
Views: 366
Posted By DiGSGRL
The reason you are only showing one file over and over is due to this line:

$realname = $rows ['filename'];

You need to tell it to iterate through the results array. You should keep a counter...
Forum: PHP Jan 4th, 2009
Replies: 13
Views: 2,456
Posted By DiGSGRL
What you should do when they submit your form to phpfile1.php do a redirect back to the htmlcode.html.

header("Location: htmlcode.html");

Or you can change the htmlcode to a php file and have...
Forum: PHP Jan 4th, 2009
Replies: 4
Views: 338
Posted By DiGSGRL
If this is your exact code you may be having inconsistencies due to syntax.

Change:
echo "Semester: $grammh[semester], class: $grammh[math], absences: $grammh[apousies], board_of_absences:...
Forum: Posting Games Jan 4th, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: Posting Games Jan 3rd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: HTML and CSS Jan 3rd, 2009
Replies: 6
Views: 643
Posted By DiGSGRL
So, you have a user enter a search term then select which page they are going to search on.
The only thing that the code shown will do is redirect a person depending on the option they select from...
Forum: PHP Jan 3rd, 2009
Replies: 2
Views: 1,322
Posted By DiGSGRL
You might also want to make sure your upload limits are large enough for the file sizes you will be allowing.
Forum: PHP Jan 3rd, 2009
Replies: 1
Views: 608
Posted By DiGSGRL
To assign the values of the option list you are going to want to use a php echo inside the value quotes:

option value="<?php echo $StudentNumber;?>"
option value="<?php echo $Exam;?>"


When...
Forum: PHP Jan 3rd, 2009
Replies: 7
Solved: urgent help...
Views: 366
Posted By DiGSGRL
Are you saying you want 3 images per table row?
If this is what you want to do, you may also want to change your limit on the query results to 6.

Then you would put your table creation inside of...
Forum: PHP Jan 3rd, 2009
Replies: 4
Views: 338
Posted By DiGSGRL
What is the number you are expecting to be in the first slot?
Also, have you checked to make sure all the numbers are correct?
And why are you using DISTINCT here:
Select distinct orio_apousiwn...
Forum: PHP Jan 3rd, 2009
Replies: 2
Views: 748
Posted By DiGSGRL
I notice on the Foreign key explanation from the MySQL manual that their tables are INNODB.

http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html
Forum: Posting Games Jan 3rd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: Posting Games Jan 3rd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: Posting Games Jan 2nd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
792..
why do I feel like this is a losing battle
Forum: HTML and CSS Jan 2nd, 2009
Replies: 2
Views: 586
Posted By DiGSGRL
You need to do:
#content a:link{
color:blue
}

That will change all link color inside of the content div
Forum: Posting Games Jan 2nd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: PHP Jan 2nd, 2009
Replies: 7
Views: 959
Posted By DiGSGRL
If it wasn't already obvious to you, you would need to read the source code of the page.
Forum: PHP Jan 2nd, 2009
Replies: 7
Views: 959
Posted By DiGSGRL
I have not done this yet but I have an idea of how you would need to do it.
First you are going to need to use fopen to open the other page and place the contents of that page into a file for your...
Forum: Posting Games Jan 2nd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: HTML and CSS Jan 2nd, 2009
Replies: 5
Views: 1,982
Posted By DiGSGRL
I have the same problems in IE7 IE6 IE5 and uh we don't look at the other IE browsers unless you want to cry.

IE made it possible to have different style sheets for different versions of IE or...
Forum: PHP Jan 2nd, 2009
Replies: 7
Views: 492
Posted By DiGSGRL
Ok let me set this out and see if I am understanding what exactly you what to do with the comment count.

You have comment count that I am guessing is a variable storing how many comments a user...
Forum: JavaScript / DHTML / AJAX Jan 2nd, 2009
Replies: 3
Views: 3,610
Posted By DiGSGRL
Do a search for lightbox or shadowbox or greybox.

Many of these have been made and are available for free downloads.
Forum: PHP Jan 2nd, 2009
Replies: 7
Views: 492
Posted By DiGSGRL
I have a database with almost 3000 entries in it at the moment and running a simple count from MySql runs very quickly.
If you are interested in the numbers you can run put a time at the top of your...
Forum: PHP Jan 2nd, 2009
Replies: 7
Views: 968
Posted By DiGSGRL
Last time I used Dreamweaver for anything other then my FTP it didn't magically write code for me.. lol

It does do a lot of stuff for you but you will have some serious headaches if you do not...
Forum: Posting Games Jan 2nd, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: Posting Games Jan 1st, 2009
Replies: 530
Views: 28,061
Posted By DiGSGRL
Forum: HTML and CSS Jan 1st, 2009
Replies: 6
Views: 643
Posted By DiGSGRL
I think the best way to do this is to have the form validate to another page which then redirects based on the option that is selected.
So:
<form method="post" action="redirector.php">

On your...
Forum: PHP Jan 1st, 2009
Replies: 7
Views: 959
Posted By DiGSGRL
Are you looking to write a script to get the contents of a div on another page for you or are you just interested in looking at them yourself?
Forum: PHP Jan 1st, 2009
Replies: 15
Views: 13,620
Posted By DiGSGRL
I have not had to use the ob_ functions yet but I did take a quick look at:
http://us.php.net/ob_end_flush

It seems that ob_end_flush is not needed as PHP will do this itself if ob_start has been...
Forum: PHP Jan 1st, 2009
Replies: 15
Views: 13,620
Posted By DiGSGRL
So, if I am understanding you correctly, you:
have a form
you submit the form
the form goes to /js/ajax_form.php
user redirected (I think this is the step where you want the redirect to happen)...
Forum: PHP Jan 1st, 2009
Replies: 2
Views: 842
Posted By DiGSGRL
If you have access to these pictures and just want them on your computer, you need to set up a FTP client and use it to connect to your server.
Once you are connected you select the files you want...
Forum: MySQL Jan 1st, 2009
Replies: 4
Views: 3,200
Posted By DiGSGRL
http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html
Thats a link to the MySQL site explaining the storage engines and how to set the engine you want to use for your tables.
Forum: PHP Jan 1st, 2009
Replies: 7
Views: 968
Posted By DiGSGRL
Being a newbie to php is something you are going to want to solve before diving into projects. I can tell you this from first hand experience, if you do not understand the code you are working with,...
Showing results 1 to 40 of 45

 


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

©2003 - 2009 DaniWeb® LLC