Conor
11-22-2003, 01:52 PM
you put all the info into forms like author Publisher. Where it was published and it spits it back in the correct bibliographical format
|
Click to See Complete Forum and Search --> : Can I write a script that will do this? Conor 11-22-2003, 01:52 PM you put all the info into forms like author Publisher. Where it was published and it spits it back in the correct bibliographical format Sexay_Hamster 11-22-2003, 02:22 PM yes :D thats pretty easy :D Conor 11-22-2003, 02:35 PM http://nucleus.ih0p.com/bookbib.html the problem im having is when you submit query the stuff is coming up right only the commas and periods are coming up heres what i have. bookbib.html <html> <body><form action="format.php" method="POST"> Author First Name: <input type="text" name="fname" /> Author Last Name: <input type="text" name="lname" /> Book Title: <input type="text" name="title" /> Place Of Publication: <input type="text" name="place" /> Publisher: <input type="text" name="publisher" /> Date Of Publication: <input type="text" name="date" /> <input type="submit" /> </form></body> </html> and Format.php <html> <body> <?php echo $_POST["lname"]; ?>., <?php echo $_POST["fname"]; ?>.<br> <?php echo $_POST["title"]; ?>.<br> <?php echo $_POST["place"]; ?>: <?php echo $_POST["publisher"]; ?>,<br> <?php echo $_POST["date"]; ?>.</body> </html> so what am i doing wrong? Sexay_Hamster 11-22-2003, 02:47 PM you have periods after ?> and b4 <BR> so they show up as reg text ;) Conor 11-22-2003, 02:59 PM but the periods are there for a reason its part of the bibiliography Also anyway to make it underline the title Sexay_Hamster 11-22-2003, 03:03 PM <U></U> is html for underlining i thought u said u dont want the periods in ur first post :confused: Conor 11-22-2003, 03:05 PM no i said i want them as well as the text to appaer. Try it only the commas and Stuff appear Sexay_Hamster 11-22-2003, 03:09 PM in ur post variable try single quote: $_POST['sheep']; that is how i have always done it is with only single quote. Conor 11-22-2003, 03:10 PM ok ill try that later i g2g now Conor 11-22-2003, 04:57 PM damnit its still jsut making the damn cammas any ideas. w00t i got the script up and running. Conor 11-23-2003, 12:58 PM now ive put tables in and its looking pretty good webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |