No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
21 Posted Topics
[URL="http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html"]http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html[/URL] Thats a link to the MySQL site explaining the storage engines and how to set the engine you want to use for your tables.
What you should do when they submit your form to phpfile1.php do a redirect back to the htmlcode.html. [code] header("Location: htmlcode.html"); [/code] Or you can change the htmlcode to a php file and have your form validate to the same page instead by putting your php on the same page. …
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) Instead of a redirect you are getting the headers already sent error I am not …
If you want the where to be contingent upon all the AND statements put them in parens. eg: [code=sql]WHERE ( AND a.paksh = b.paksh AND a.tithi = b.tithi AND b.date BETWEEN CURdate( ) AND (CURdate( ) +9) )[/code]
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?
Do a search for lightbox or shadowbox or greybox. Many of these have been made and are available for free downloads.
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 redirector.php, check what value was sent: if($_POST['dropdown']==1) header("Location:page1.php") and so on. If you just want to change …
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 script and after its finished running you can check …
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 just for IE in general. Of course you would first need …
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 a php loop: [code] <?php $totalResults=mysql_num_rows($yourQuery); $numberOfImagesPerRow=3; $numberOfRows=$totalResults/$numberOfImagesPerRow; echo …
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: [code]Select distinct orio_apousiwn[/code] Are all of those values expected to be unique?
You might also want to make sure your upload limits are large enough for the file sizes you will be allowing.
To assign the values of the option list you are going to want to use a php echo inside the value quotes: [code] option value="<?php echo $StudentNumber;?>" option value="<?php echo $Exam;?>" [/code] When you get the error "Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource", this usually …
I notice on the Foreign key explanation from the MySQL manual that their tables are INNODB. [URL="http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html"]http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html[/URL]
> start quote: a.content:link { color: blue; text-decoration:none; } a.content:visited { color: purple; text-decoration:none; } a.content:hover { color:red; text-decoration:bold; } > end quote. You need to do: #content a:link{ color:blue } That will change all link color inside of the content div
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, you are going to wind up with a whole lot of silly …
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 and download them. There are several free FTP clients out …
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 the image. Use some css …
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 database and one table using relevance fine. I can union the two …
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 database and one table using relevance fine. I can union the two …
The End.
DiGSGRL