Jump to content

dadamssg

Members
  • Posts

    729
  • Joined

  • Last visited

    Never

Everything posted by dadamssg

  1. thanks, what exactly does the isset function do...i think it checks to see if the variable is set...but i don't know what it does if it finds a set function or an empty one???
  2. my users will be able to login and perform certain things such as enter in information through forms, but i want to either carry their username through the URL or store it in a session somehow so when i go to display what the user entered in the form i can display the username next to the result. whats the best way to carry this small piece of data? thanks
  3. Does anyone know of a good tutorial that will walk me through the process of writing script that will create a user account page. i know i have to create a template.php file but thats it
  4. dadamssg

    </n>?

    i see this tag alot in sample codes....is it html, php? and what the heck does it do?
  5. im not familiar with css AT ALL so i don't know how to set anything in any kind of sheet....
  6. i made a site with dreamweaver and this is how it coded it....i tried to just copy paste this segment but got the errors <style type="text/css"> <!-- body { background-color: #780606; background-image: url(stripe_99ac19a4de4dd468b14ca733d92aee38.png); } --> </style>
  7. I have an image thats a .png file...i think i need to use css to display this....my question is whats the code to put the .png image as my background without getting a syntax expecting ; or ; error. thanks
  8. how do i put this into a function? i want it to be choosedatetime(). but im apparently not aware of how php reads line by line. I tried this but it said unexpected '<' found on that third line. some help and clarification would be awesome. <B>START: Day</B> <select name='month'>; <option value='Jan'>Jan <option value='Feb'>Feb <option value='Mar'>Mar <option value='April'>April <option value='May'>May <option value='June'>June <option value='July'>July <option value='Aug'>Aug <option value='Sep'>Sep <option value='Oct'>Oct <option value='Nov'>Nov <option value='Dec'>Dec</select>; <B>/</B>; <select name='day'>; <option value='01'>1 <option value='02'>2 <option value='03'>3 <option value='04'>4 <option value='05'>5 <option value='06'>6 <option value='07'>7 <option value='08'>8 <option value='09'>9 <option value='10'>10 <option value='11'>11 <option value='12'>12 <option value='13'>13 <option value='14'>14 <option value='15'>15 <option value='16'>16 <option value='17'>17 <option value='18'>18 <option value='19'>19 <option value='20'>20 <option value='21'>21 <option value='22'>22 <option value='23'>23 <option value='24'>24 <option value='25'>25 <option value='26'>26 <option value='27'>27 <option value='28'>28 <option value='29'>29 <option value='30'>30 <option value='31'>31</select>; <b>/<b>; <select name='year'>; <option value='2009'>2009 <option value='2010'>2010 </select>; <B> Time</B>; <select name='hour'>; <option value='01'>1 <option value='02'>2 <option value='03'>3 <option value='04'>4 <option value='05'>5 <option value='06'>6 <option value='07'>7 <option value='08'>8 <option value='09'>9 <option value='10'>10 <option value='11'>11 <option value='12'>12 </select>; <B>:</B> <select name='minute'>; <option value='00'>00 <option value='05'>05 <option value='10'>10 <option value='15'>15 <option value='20'>20 <option value='25'>25 <option value='30'>30 <option value='35'>35 <option value='40'>40 <option value='45'>45 <option value='50'>50 <option value='55'>55 </select>; ; <select name='minute'>; <option value='am'>am <option value='pm'>pm </select>;
  9. well now it says the file choosedatetime.inc can't be found in my directory....i put it in the same folder as the other file and it pulled up and displayed everything else except the part of the form that is in choosedatetime.inc...what in the world...
  10. i got an enexpected T_string error on line 10 in my choosedatetime.inc file....i noticed that i used double quotes when i echoed the html so i changed that...but i don't know what to do with line 10. And do i need cut out the <HTML><BODY> tags if this file will go into the other file that already has the <HTML><BODY> tags too? thanks
  11. yeah, heres the part where im calling it...everything works and displays fine..except this...it just puts 'choosedatetime.inc;' in my table cell echo "<tr> <td style='text-align: center; font-weight: bold'> Date & Time</td> <td>choosedatetime(); </td> </tr>";
  12. i created a date and time selection form and want to include it in a table multiple times...i tried putting it into a function but when i pull it up it just displays the function name that i tried calling "choosedatetime();". what can i put this into and call it out whenever i need it without having to repeat a lot of code. the html im tryin to display is below..thanks! <?php //choose datetime function choosedatetime() { echo " <HTML> <BODY> <B>START: Day</B> <select name='month'> <option value='Jan'>Jan <option value='Feb'>Feb <option value='Mar'>Mar <option value='April'>April <option value='May'>May <option value='June'>June <option value='July'>July <option value='Aug'>Aug <option value='Sep'>Sep <option value='Oct'>Oct <option value='Nov'>Nov <option value='Dec'>Dec</select> <B>/</B> <select name='day'> <option value='01'>1 <option value='02'>2 <option value='03'>3 <option value='04'>4 <option value='05'>5 <option value='06'>6 <option value='07'>7 <option value='08'>8 <option value='09'>9 <option value='10'>10 <option value='11'>11 <option value='12'>12 <option value='13'>13 <option value='14'>14 <option value='15'>15 <option value='16'>16 <option value='17'>17 <option value='18'>18 <option value='19'>19 <option value='20'>20 <option value='21'>21 <option value='22'>22 <option value='23'>23 <option value='24'>24 <option value='25'>25 <option value='26'>26 <option value='27'>27 <option value='28'>28 <option value='29'>29 <option value='30'>30 <option value='31'>31</select> <b>/<b> <select name='year'> <option value='2009'>2009 <option value='2010'>2010 </select> <B> Time</B> <select name='hour'> <option value='01'>1 <option value='02'>2 <option value='03'>3 <option value='04'>4 <option value='05'>5 <option value='06'>6 <option value='07'>7 <option value='08'>8 <option value='09'>9 <option value='10'>10 <option value='11'>11 <option value='12'>12 </select> <B>:</B> <select name='minute'> <option value='00'>00 <option value='05'>05 <option value='10'>10 <option value='15'>15 <option value='20'>20 <option value='25'>25 <option value='30'>30 <option value='35'>35 <option value='40'>40 <option value='45'>45 <option value='50'>50 <option value='55'>55 </select> <select name='minute'> <option value='am'>am <option value='pm'>pm </select> </BODY> </HTML>"; } ?>
  13. Hi, ok...so my user will fill out a form that will then be put in a calender my users will see. I want the submission of the form also to make that event a new page in my site, where users can comment on it. kind of like whenever you create a user account on a website, you have your own account page. How the heck do i do that? thanks in advance
  14. Im pretty sure theres someway that mysql can add a ID number to a row everytime one is created. How do that? and i will be deleting and adding rows of data and i want each row to still have that unique ID number. Like if mysql has something where it numbers every data row, i don't want all the numbers to move down one if i delete a row, i want them to remain that same ID number...thanks in advance
  15. right...but im concerned with what to set the MySQL data type to...as in CHAR (), VARCHAR(), etc. theres a problem with both of those because the max input can only be 255 characters. how do i make it to where i can store any amount of text?
  16. Im trying to create a type of forum application. I want the user to fill out a form and one part of the form is the description. I want to store and use it exactly like this forum is using my post. How do i store a large amount of text if the character limit in the sql database is only 255? any suggestions would be much appreciated
  17. hi, Im creating a form where the user can enter in a date and time...say they want to enter Jan 3 2009 6:00 am. Keeping the php side of the form in mind and making it simple for the user to choose, i want to store their input in my database as datetime. Any suggestions on how i could do this in the form which wouldn't require a lot of manipulating variables to enter in the mysql database in the correct format for datetime to understand? ive thought about just creating a text field, but then drop down menus could make it easier but prolly more difficult to get in the right format. thanks
  18. Hi im trying to set up a login application. im going through a PHP and MySQL for Dummies book and i've copied everything down but i can't seem to get the password to work. Whenever i try to make an account the password i put into the application is encoded in my database and when i try to use the password i assigned the user it won't work, it also won't work for the coded password it gives me in my database. I had the password set to CHAR (30)...didn't work. tried setting it to VARCHAR (10)...didn't work. i attached the password section of the code. THANKS ahead of time [attachment deleted by admin]
  19. can someone PLEASE walk me through how to connect my domain name to the host i just purchased. Im using dreamweaver and its asking How i connect to my remote server? what is the host name or ftp address of your web server? what folder on the server do you want to store your files in? and i have my ftp login and password from the email i just got from justhost.com. oh and i purchased my domain name from godaddy.com....i don't know to get them to work! some help PLEASE
  20. dadamssg

    dumb question

    im new to all this programming code and what not...so here goes. My comp runs on windows xp not linux...can i not still program with php?
  21. Where do i even BEGIN to start learning? Every "beginners tutorial" for coding seems far above my head
  22. thanks for the help, its much appreciated...im obvioulsy new at this stuff. I just have an idea and am tryin to run with it. Tryin to figure out the easiest way to do certain things. I don't know how to use dreamweaver and all 'code' is a foreign language to me. I think i can learn dreamweaver fairly quickly. But I feel like i should hire people to do what i want because i don't think i can accomplish everything i want by myself...learning all the code. but at the same time, i don't want to have my idea taken. Any strategy suggestions?
  23. is there anyway you can break a phpBB forum up into different pages? For instance, have a page dedicated to one topic and have only have "Normal category 1" in that page. have a page dedicated to somethin else and have "normal category 2" there..etc.. anybody have any clue how to do that?
  24. I have an idea for a website and want to incorporate a forum that has a layout like this site ( http://texags.com/main/forum.main.asp ). does anyone know how i should go about doing that?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.