Jump to content

virgil

Members
  • Posts

    13
  • Joined

  • Last visited

virgil's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. virgil

    Db Sessions

    make sure you call open_session() before you call read_session() or the other functions as php reports $sdbc being null.calling open_session() sets $sdbc to a mysqli resource.
  2. try this code <script LANGUAGE="JavaScript">var which = 0;function showColor(val) {document.getElementById("hexval"+which).value = val;document.getElementById("sample_"+which).style.backgroundColor = val;}</script> can you tell us why you need to nest forms.
  3. hi,your web site forwarded me to a firefox page using iehttp://www.mozilla.com/en-US/firefox/firefox.htmlthe site looks fine, i like the colors.you just need a bit of padding or margin for your main content and of course more content.
  4. to save user data from html input, you need to create a php script to process user data and save them into storage like database or flat file.using ms word or excel as your database is complex for you.a csv file is simple to implement.1. so first step is to create the html form with input fields.2. create the php script to receive the user data and save into csv file.good luck!
  5. virgil

    Advanced Forms

    say this is your "more info" link <a href="infoform.php?pc=A001">more info</a> in your infoform.php, <form action="email.php" method="post"><label for="pc">Product Code:</label><input type="text" name="pc" readonly="readonly" value="<?php echo $_GET['pc']?>" /> <label for="email">Email:</label><input type="text" name="email" />...etc...<input type="submit" name="action" value="ok" /></form>the form above shows the product code to the user, provides input for email address and an "ok" submit button.when user hits "ok" button, email.php kicks in.here is how to access the product code in your email.php, $productCode = $_POST['pc'];$email = $_POST['email'];...mail(...); that should pass product code properly.
  6. virgil

    Resolution Problem

    you'll get same layout by removing position fixed from your css rules.float your logo1, logo2 and the div that holds them to right.remove the margin-right:250px from you body css.
  7. netbeans has great features including highlighting uninitialized variables.http://www.netbeans.org/features/php/
  8. place html code in a text area and have it escaped so characters like "<" is converted into <
  9. wonder how and what makes google index images on pages.good to find out.
  10. to make it auto_increment, first you need to make it a key or in your case, a primary key by running the sql below:ALTER TABLE `test` ADD PRIMARY KEY ( `P_Id` );next, run the sql below:ALTER TABLE `test` CHANGE `P_Id` `P_Id` INT AUTO_INCREMENT note: change the table name `test` with your actual table name.hope that helps.
  11. context and requirements information would be a good stuff to add into tutorials so one can truly appreriate the learning.
  12. Site Name: The Practical Web Site Development ResourceSite Description: Guides, tools and solutions.Site Owner/Developer: meSite Address: http://www.jampmark.comExtra Comments: Goal was to make it simple and easy to read.
  13. hello everyone,Take a look at my website at http://www.jampmark.comFor me the design is simple, neat with right contrast and texts are readable.Wonder what you have to say.Thank you very much.
×
×
  • Create New...