Jump to content

user4fun

Members
  • Posts

    573
  • Joined

  • Last visited

Everything posted by user4fun

  1. user4fun

    decimals

    $answer1 = "$var1/$Var2<br>";echo "$answer1<br>";i need to make $message1 round to 2 decimal placesThanksNOTEif i have to take the quotation of, then what do i need to do to add text before and after $answer1
  2. i think i might have got the right trackform, post or get variablesrun php filephp file will include some html in the end holding the table and the variable that i want?is that correct
  3. Newbeis,. and people with ten year experience. I think you all are great.The true Newbies (myself) are learning, The fake Newbies ( experienced with 10 years) are providing some great help and i thank you for being here. The punks ( the ones that start ###### ( no one in here offcourse) they give us a laugh every now and then.THANK YOU ALL, THIS PLACE IS GREAT
  4. I need an example of an html formcouple of text fields then a button when clickeda new page www.000.com/results.htm is openedthe results.htm would hold the information entered by the user and then runs a an if statment javascript on it and shows the resultsso really i am looking for aFormtext fieldtext fieldbutton // when clicked the user input is saved, then www.000.com/results is openedin the results.htm page java script ran based on the user informationend javascripthtml tableone on the cells would hold one of the variableson close, all variables are deleted ( i am not sure if i need this, but if itis easy why notThat is allThankyou very much
  5. I am actually working on the same issue, maybe by meposting this, one of the great usersmay decide to help us both.Thankx
  6. i am trying to CREATE A TABLE AND ENTER VARIABLES IN IT.THE formatone row, three columns ( the blue color is Hue: 160 Sat:240 and Lum:60 or in the RED, GREEN BLUE FORMAT IT WOULD BE 0, 0, 128row 1 col 1 background color blue font white top line large font ( times new roman, bold, 36pt) Variable1line breaksome text ( times new roman, regular, 10pt)row 1 col 2background whiteimage name JoinNow.jpg linked to join.htmrow 1 col 3backgrond color blue, font white. Top line large font variable2 ( large font same as Variable 1line breaksome text ( fonts same as the text under variable 1)i am sure this is fairly simple, but i an new with javascript. thank you all very much.If this is alot of work to ask, i would appreciate a link or a tutorial thatwould help
  7. it works like a charm, i just moved the $ sign in sign into the font sectionTHANK YOU
  8. this is a small peice from an if statmenti want the resutls of the (LostPotentialProfit) to be a bold red color including the $ sign offcourse.i am not sure how to add that in the middle of this mess. document.write(MessageD + " " + "=" + " " + "$" + Math.round(LostPotentialProfit) + "<br />"); I appreciate any helpthx
  9. I AM NOT THE OWNER OF THIS SITE, NOT AM I AN ADMINISTRATOR. BUT I THINK THERE OUGHT TO BE SOMETHING IN THE USER AGREEMENT ABOUT POSTING ADVERTISING STUFF LIKE THAT.
  10. user4fun

    Chat Room HELP!!!

    if you dont have mysql??? THENwhat do you have?
  11. user4fun

    easyphp help

    WHAT THE ###### IS EASYPHP :-)
  12. user4fun

    I need some code PHP

    It is hard to understand your request but JUST SO YOU WOULD KNOWSharing music in America is a NO NO NO NO NO . :-)good luck
  13. I am not sure if this is what you are looking for but ooh wellthere it goes $status = "OK"; $msg=""if (!stristr($em,"@") OR !stristr($em,".")) {$msg="Your email address is not correct<BR>";$status= "NOTOK";} if($status=="OK"){ echo "your submitted email address is $The email variable if you need it<br>"; $link = mysql_connect(" l", " ", " ");// incase you are using sql mysql_select_db("table_name"); $sql = "INSERT INTO table_name VALUES (' ')";$query=mysql_query($sql); echo "<center><b>THANK YOU</b> </center><br>"; echo "<center>WE HAVE YOUR EMAIL ADDRESS<br>"; } else {echo "<center>$msg </center>"; include '/inc/go_back.inc'; //html file showing a link to try again}?> </body></html> I HOPE I HELPED
  14. After 106 view and no responsed you would think there is something wrong going on.I did not read much of your post because it has been a while since i played with MS ACCESS.BUTPoint 1 = this is the wrong forum for this. ( you could find a more specific one)Point 2 = As much as i love the folks in this forum and the website in general I am going to direct you so another good place that is more access specific.www.utteraccess.com
  15. user4fun

    Variables Limits

    YES, i am using POST
  16. user4fun

    Variables Limits

    I am using PhpMyAdminlolstill stuckth variable are properly posted to the next page.
  17. user4fun

    = Uuer Input

    I just checked out, HUGE FREAKIN BILL AND still the same problem, I dont rememeber writing this post. lol
  18. user4fun

    PK AND FK

    I am sorry if i was not clear, what i was trying to find out is how to declare PK AND FK link them together and inforce refrential integrity.stuff like thatThank you
  19. user4fun

    Variables Limits

    here is my code, maybe i am missing something <html><head> <title>Untitled</title></head><body><?echo "your submitted information are as follows <br>"; echo "Status :<b> $Status</b>";echo "Domain :<b> $Domain</b><br>";echo "Title :<b> $Title</b><br>";echo "First Name :<b> $Fname</b><br>";echo "Last Name :<b> $Lname</b><br>";echo "Phone :<b> $Phone</b><br>";echo "Ext :<b> $Ext</b><br>";echo "Fax :<b> $Fax</b><br>";echo "Address :<b> $Address</b><br>";echo "City :<b> $City</b><br>";echo "State :<b> $State</b><br>";echo "ZipCode :<b> $ZipCode</b><br>";echo "Email :<b> $Email</b><br>";echo "Market Type:<b> $MarkType</b><br>";echo "Market Detail:<b> $MarkDetail</b><br>";echo "Start Date :<b> $StartDate</b><br>";echo "Renewel Date :<b> $RenewalDate</b><br>";echo "Additional Info:<b> $AddInfo</b><br>"; $link = mysql_connect("", "", "") or die ("Could Not Connect");// this works mysql_select_db("Business") or die ("NO ACCESS"); // this works $sql = "INSERT INTO Profile (BusinessID, Status, Domain, Title, Fname, Lname, Phone, Ext, Fax, Address, City, State, ZipCode, Email, MarkType, MarkDetail, Sdate, Rdate, AddInfo)VALUES ('', '$Status', '$Domain', '$Title', '$Fname', '$Lname', '$Phone', '$Ext', '$Fax ', '$Address', '$City', '$State', '$ZipCode', '$Email', '$MarkType', '$MarkDetail', '$StartDate' , '$RenewalDate', '$AddInfo')";$query=mysql_query($sql);if($query){ echo " it worked";}else{ echo " FAILED"; // THIS IS WHATI KEEP GETTING??}?> </body></html>
  20. user4fun

    PK AND FK

    I am sure that some of you are familiar with primary keyt and foreign key in MS ACCESS. how does the same concept wortk with sql.i would appreaciate a link, or explanations or whatever.thank you.
  21. user4fun

    Variables Limits

    Apperently i just fgound out that 19 it the max number of variables to you write to an sql table??is that true, i guess it would be because i have 17 variables from a from that gets inserted into a mysql table and it does not work until i take one of them of down to 16.Any ideas of what i can do to overcome that.THANK YOU
  22. user4fun

    variables

    geeeez, the number of things you can do with sessions is awesome.thank you all for taking me to the next level of phpfrom beginner, to beginning. lol
  23. I am sure that there is a way to do this, but i am not able to put my foot on the right trackSTEP 1 //DONEcreate a file holding a number of variableexample$first = info@;$second = sales@;$third = techsuppor@t;and so on.STEP 2 //DONE create a select query that picks up all the data from the table that stored domain namesSTEP 3// NOT DONE :-( what i am trying to figure out?to take the information selected from a table called domain_list column Domain and modify itexample if i have this in my table (www.w3school.com)IT would be modified to info@w3schools.comsales@w3schools.comtechsupport@w3schools.com then i input a subject and a mesage and click on send, the modified data would become the email address that it will email out to.I would appreaciate any ideas.Thank you allin a nut shell$Email == 0take field 1 in table "list" column "domain"take the first four charactres ( which would be www.) and replace them by $first(which will end up being info@w3schools.comtemporarily store as $Email++take the fist four char again and replace by $secondtemporarily store as $Email++take the first four characters and replace by $thirdtemporarily store as $Email++when commad button submit is clickedit would send the users input to all $Email values. which would be $Email1, $Email2, $Email3, $Email4, and so on
  24. user4fun

    variables

    fantastic! thank you for the explanation and taking the time.
  25. can some one teach php in a chat room?????GOOD LUCK!lolphp and mysql for dummies is a good start if you just want the kind of learning you get in a chat room. ( good sample codes are included)
×
×
  • Create New...