- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Richard Hung is a web and graphics designer. He is good at hand-coding HTML and CSS, and also likes to use jQuery plugins to provide interactivity.
121 Posted Topics
Re: You can't set anything to a submit button. You have to put the id in an actual input field. If you don't want to change it, put it in a hidden field. [CODE]<input type="hidden" name="id" value="<?php echo $id; ?>" />[/CODE] | |
Re: Use .htaccess to direct everything to the PHP file. Validate and then display the folder contents using the PHP file. | |
Re: You didn't clear the cookies on your browser; you just logged out. They can still leave cookies on your computer even when you log out. In your case, they might have removed the "logged in" cookie but the "username" cookie is still there. | |
Re: [QUOTE=htmlCoder101;1488311]if you really want to learn old-school coding or really want to do it from scratch, the best website where you can learn everything about php, html, javascript, etc. is at [url]http://www.w3school.com[/url]...[/QUOTE] I hope you're joking. You should read [URL="http://w3fools.com/"]http://w3fools.com/[/URL] on why you should NOT use w3schools. | |
Re: You might get a lot better responses here. [URL="http://www.webhostingtalk.com/"]http://www.webhostingtalk.com/[/URL] | |
![]() | Re: By default, sessions and cookies start at the root path of the file that created it and all lower sub-folders. Either move your session script at least as high as your other scripts that need it or try to change your session location with [ICODE]session_save_path[/ICODE]. |
Re: Themes are made with CSS mostly. If you don't want to make your own, find one that has a layout you like and swap the images. Just remember to put the images in the same location with the same filename. | |
Re: [url]http://openid.net/add-openid/[/url] | |
Re: I have a chopping board that looks similar. Apple should sue Walmart for selling that to me. | |
Re: [url]http://www.php.net/manual/en/function.include.php[/url] | |
Re: You need to edit the actual php files. | |
Re: [CODE] .content{ background-image:url("image/curly-banner.png"); background-repeat: repeat; } [/CODE] | |
Re: You need to use PHP with a database. If you don't know what to do, I recommend you just use [URL="http://wordpress.org/"]WordPress[/URL], [URL="http://drupal.org/"]Drupal[/URL], or [URL="http://www.joomla.org/"]Joomla[/URL]. | |
Re: You have a [ICODE]require[/ICODE] or [ICODE]require_once[/ICODE] in your code that can't find the file. Remember that requires and includes have to be relative to the host page. | |
![]() | Re: [url]http://www.php.net/manual/en/language.variables.basics.php[/url] |
Re: If you want a separate WordPress theme using the same database, all you need to do is change the css files. What do you mean you don't want the options? The options are stored in the database as variables. To screw around with the options in WordPress, you're going to … | |
Re: [CODE] $timestamp = time(); $ip = $_SERVER['REMOTE_ADDR']; [/CODE] Put the ip and time into the database and check when posting. | |
Re: What are you talking about? First of all, forms are HTML and have nothing to do with PHP. The default behavior of browsers is to submit input fields upon pressing "Enter". Do you have it as a textarea? | |
Re: PHP is server side code. It's hidden by default. | |
Re: [url]http://dev.mysql.com/doc/refman/5.0/en/update.html[/url] [url]http://dev.mysql.com/doc/refman/5.0/en/delete.html[/url] ![]() | |
Re: [url]http://httpd.apache.org/docs/current/rewrite/remapping.html[/url] | |
Re: [url]http://htmldog.com/reference/htmltags/select/[/url] | |
Re: [CODE]$sql = 'SELECT * FROM table WHERE column LIKE "%'.$search.'%"';[/CODE] ![]() | |
Re: Play with the background, width and margin properties. [url]http://htmldog.com/reference/cssproperties/[/url] | |
Re: [url]http://www.daniweb.com/web-development/php/code/351142[/url] ![]() | |
Re: [CODE] die ('<p style="color:blue;">Hello World!</p>'); [/CODE] | |
Re: [QUOTE=rakwel10;1638622]Pls help me with this... [CODE] //FINANCE.PHP <form id="frmpay" name="frmpay" method="POST" action="finance_payment.php"> <input type="radio" name="seltour[]" value="<?php echo $tour_code; ?>"> <input type="submit" value="input" name="submit" /> </form> [/CODE] once submitted.. [CODE] //FINANCE_PAYMENT.PHP if(isset($_POST['submit'])) { for($i=0;$i<$numrow;$i++){ $code = [B]$_POST['seltour'][/B][$i]; $query = "SELECT tour_amount, tour_name FROM `tbl_tour_profile` WHERE tour_code = '[B]$code[/B]'"; $result = mysql_query($query); … | |
Re: [url]https://merchant.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=merchant/wp_standard[/url] | |
Re: [url]http://meyerweb.com/eric/tools/css/reset/[/url] | |
Re: Turn each loop into a form. Output the id as an input field on the form. Delete row when form is submitted. ![]() | |
Re: Play around with width, height, margins and floats. [url]http://htmldog.com/reference/cssproperties/[/url] | |
Re: Sessions: [url]http://www.php.net/manual/en/function.session-start.php[/url] Cookies: [url]http://www.php.net/manual/en/function.setcookie.php[/url] | |
Re: If you don't like Wordpress, you can try Drupal or Joomla. But I've heard that those 2 are a lot more advanced and are usually for corporate websites. Or you could try to build your own.... | |
Re: 1. Give it a fixed width. 2. Give it a different class or id. | |
Re: [url]http://www.lokeshdhakar.com/projects/lightbox2/[/url] [url]http://fancybox.net/[/url] | |
Re: For starters, you still haven't defined your post variables yet. | |
Re: [CODE]<meta http-equiv="refresh" content="30"> [/CODE] | |
Re: It's a JavaScript pop up. You can try to make your own or use a plugin. I recommend [url]http://jqueryui.com/demos/dialog/[/url] | |
Re: [CODE] $ip = $_SERVER['REMOTE_ADDR']; [/CODE] | |
Re: So what do you need? | |
Re: First of all, where is your data stored? You need to store the data somewhere before you can hope to output anything. | |
Re: [CODE] * {font-family:arial,sans-serif;} [/CODE] | |
Re: [CODE] <table> <tr><td>Jan</td><td>Feb</td><td>Mar</td><td>Apr</td></tr> <tr><td>May</td><td>Jun</td><td>Jul</td><td>Aug</td></tr> <tr><td>Sep</td><td>Oct</td><td>Nov</td><td>Dec</td></tr> </table> [/CODE] | |
Re: TL;DR but a forum requires a database. Did you create a new database before copying your files? If you did, are you sure your connection info is correct and the database is the same? Did you remember the database names, engines, and keys? | |
Re: Foreign keys are used at the database level and forces a link. Joins are used at your application level. You should have foreign keys when you setup your database to ensure every join will be valid. | |
The End.