Jump to content

wildteen88

Staff Alumni
  • Posts

    10,480
  • Joined

  • Last visited

    Never

Everything posted by wildteen88

  1. You'll have to slice the image you made in PS up into smaller images. With the smaller images you create the page with HTML/CSS not PHP. If you provide a screen shot of your login page you made in Phostoshop we may be able to tell what you'll need to.
  2. Re-read read my post, I am asking WHERE you are saving the file.
  3. Hold on you say you have WAMP installed, if that's the case your files should be saved in C:\wamp\www not C:\wamp\Apache\htdocs (or wherever you're saving the files to). AFAIK PHP scripts cannot produce a page cannot be found error, if there are syntax errors.
  4. Yes that is correct. is_numeric returns true or false and ! means NOT.
  5. To get a value from a drop down menu, you use $_POST['your_menu_name']
  6. I think most employers go more on experience than qualifications, however I think the closet is the Zend Certification.
  7. Make sure you also have this line in your hosts file. 127.0.0.1 localhost
  8. Check to see if the user accessed confirmation.php from form_process.php. or if you have sufficient form validation you shouldn't have to do this, eg // check if form is submitted if(isset($_POST['your_submit_butten'])) { // form submitted apply validation // page content here } else { // form hasn't been submit, redirect user header('Location: /index.php'); } EDIT: beaten to it
  9. It needs to be $time = date('g:i a', strtotime($time));
  10. What happens if you go to just http://localhost
  11. It'll help if you post your current code. Also how are the zip codes (800,801,802 etc) stored, in an array?
  12. I presume by overwritten you mean the $tableItems variable? If so use this result = mysql_query("SELECT * FROM invoiceItems where invoiceID = '$invoiceid' ",$db); $numrows = mysql_num_rows($result); $tableItems = null; $row = 'row'; while ($row = mysql_fetch_array($result)) { $invoiceItem = $row["Item"]; $invoiceDescription = $row["description"]; $invoiceItemPrice = $row["itemPrice"]; $tableItems .=" <tr> <td width='10'> </td> <td width='271'><div align='left'>$invoiceDescription</div></td> <td><div align='center'>355</div></td> <td width='94'><div align='right'>$</div></td> <td width='74'><div align='left'>$invoiceItemPrice</div></td> </tr>"; } echo $tableItems;
  13. No search google for such a script. IMO you're wasting your time.
  14. No this is not possible with PHP. It can be done with javascript, however it is easily gotten around by disabled JavaScript.
  15. Then what you're trying to do is impossible, without modifying any thing
  16. No, not that I'm aware of. However you can add HP code in themes, I believe. Why do need to add PHP code to a post.
  17. stbalaji2u you already have an open thread here. LOCKED
  18. PHP 6 is still in development, in order to get PHP6 you need compile it and install it locally. I say for now stick with PHP5. PHP5 will be compatible with PHP6.
  19. Your need to set the second parameter for the highlight_string function to true. $str = highlight_string("$str2highlight", true);
  20. You should use $_GET['id'] rather than $id.
  21. Problem is with the use of REQUEST_URI as it includes the query string. So every time you click a link it is always going to add &page=X to your url. What I'd do is dynamically build the url. Like so $server = $_SERVER["SCRIPT_NAME"]; // check if the page variable exits if(isset($_GET['page'])) { $page = $_GET['page']; // remove the page from the $_GET array unset($_GET['page']); } // no we'll dynamically build the query string $server .= '?'. http_build_query($_GET); echo $server;
  22. You already have an open topic here. LOCKED
  23. You'll need to post some code relating to your problem. Make sure you're not using short tags (<? ?> or <?= ?>) when scripting. Short tags is not enabled by default, Ideally you should always code with full php tags (<?php ?> or <?php echo ?>). Also make sure you code all your PHP related content in .php files and not .html files. You should also be running your code from http://localhost.
  24. You can release the mod as you wish. Provided you mention you where helped in making this mod.
  25. Your host most probably has another utility for creating databases, such as CPanel. Or as you're on a free host you may have to request for a database. Check with your host. This is not an issue with PHP or PHPMyAdmin.
×
×
  • 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.