Search Results

Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: DiGSGRL ; Forum: PHP and child forums
Forum: PHP Jan 4th, 2009
Replies: 13
Views: 2,808
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,808
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,808
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: PHP Jan 4th, 2009
Replies: 7
Solved: urgent help...
Views: 385
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: 385
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,808
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: 360
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: PHP Jan 3rd, 2009
Replies: 2
Views: 1,450
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: 681
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: 385
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: 360
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: 848
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: PHP Jan 2nd, 2009
Replies: 7
Views: 1,007
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: 1,007
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: PHP Jan 2nd, 2009
Replies: 7
Views: 524
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: PHP Jan 2nd, 2009
Replies: 7
Views: 524
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: 1,062
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: PHP Jan 1st, 2009
Replies: 7
Views: 1,007
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: 14,314
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: 14,314
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: 947
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: PHP Jan 1st, 2009
Replies: 7
Views: 1,062
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,...
Forum: PHP Jan 1st, 2009
Replies: 1
Views: 307
Posted By DiGSGRL
I am not certain if you want the url to be a part of the image or just under it.
Of course placing a bar under the image is as simple as setting up a div or table and placing the div or cell beneath...
Forum: PHP Dec 31st, 2008
Replies: 1
Views: 460
Posted By DiGSGRL
I discovered the databases forum where this should have been posted in the first place and have reposted this topic there.
Since I do not see a way to delete my original thread I hope this finds its...
Forum: PHP Dec 31st, 2008
Replies: 1
Views: 460
Posted By DiGSGRL
I am building a site search that involves a union of two tables in two databases and needs to have relevancy factored in.
I do not want to use a full-text or boolean search.

I can search one...
Showing results 1 to 25 of 25

 


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

©2003 - 2009 DaniWeb® LLC