118 Posted Topics

Member Avatar for Ajantis

1. Can we have multiple files open at one time? If yes, then I'd love to see a save-workspace option. (So I won't have to open the 4-8 different files next time). 2. Find and Replace functions. Better if you can do a search on all open tabs. :p (I'll …

Member Avatar for kanaku
0
95
Member Avatar for FlashCreations

Use a dynamic and static salt combination? [URL="http://codeigniter.com/blog/P5/"]Article from codeigniter -- but the concept is the same.[/URL]

Member Avatar for kanaku
0
119
Member Avatar for sganandhsg

In the Start Menu: 1. Right-click on the My Documents folder and choose Properties. 2. Then at the top there are 3 tabs: Target, General, and Sharing. Choose sharing. 3. Check the box that says "Make this folder private" Note that this will only hide all files in your My …

Member Avatar for kanaku
0
77
Member Avatar for chili5

That's one of the most enthusiastic introductions I've ever read. haha I'll only comment on your love of Final Fantasy: I still can't get over FF VII and VIII myself. =) We already met in the HTML/CSS thread (geeky way to meet, I know) but again, welcome chili5! (Glad to …

Member Avatar for kanaku
0
185
Member Avatar for gbogze
Member Avatar for bharanidharanit
Member Avatar for muek

I think what you can do on your work_machine table is have references to the workid and machineid... work_machineID | workID | machineID 1 | A | 1 2 | B | 3 3 | B | 5 Then just select from this table where workID = 'A';

Member Avatar for muek
0
120
Member Avatar for ilokana

Eep. I think that javascript is the only way to go. PHP is (I don't know the formal term) but it only works when you 'submit' or 'send' the data. From experience, it's Javascript that handles browser events like onMouseOut, onChange, onClick, etc... (AJAX is still Javascript + PHP) so …

Member Avatar for php-freelancer
0
455
Member Avatar for Madeehaz
Member Avatar for atulperx
Member Avatar for kanaku
0
70
Member Avatar for sillyboy

I like my coffee FREE. *people throw coins at her: PENNY-PINCHER!!!* ouch... well, you ASKED.

Member Avatar for brandmantra
0
270
Member Avatar for kanaku

I'm trying to make a membership system where users can 'approve' or 'disapprove' another member only once. If they have approved the member previously or disproved the member previously, I want to be able to detect it. I also want to display the average user approval for each member on …

Member Avatar for kanaku
0
128
Member Avatar for sacarias40

The most popular way of centering your content is to put your whole body in one div with and id (ie container) and add this in your css code: [code] div#container { margin: 0 auto; width: (the width you want, could be in %, px, or em) } [/code] The …

Member Avatar for kanaku
0
229
Member Avatar for Stunt

Did you mean the images at the top? Looking at the site, it seems that joystiq didn't do this using javascript.. *snoops at code* [B]AHA! This was done using CSS *falls off chair in shock*.[/B] I didn't know this. Thanks for posting it. =) Anyway, here is [URL="http://meyerweb.com/eric/css/edge/popups/demo.html"]an article on …

Member Avatar for Stunt
0
135
Member Avatar for Demmybb
Member Avatar for dariush29722

Eep. That's a load. Have you tried toggling the bottommiddle.gif on or off? It's the only thing with repeat-x that I could see in your code...

Member Avatar for dariush29722
0
127
Member Avatar for irvanoktaviana

[quote] My name irvan.. from indonesia.. I join this site.. to learn.. learn.. and learn.. [/quote] Hallu Irvan!!! What are you waiting for? POST, POST POST! (or read, read, read if you're an introvert) :D

Member Avatar for kanaku
0
21
Member Avatar for Aamit

Try: [code] <form> <table border="0" width="100%"> <tr> <td align="right" width="60%"> <select name="cmbcategory" size="1" onChange="submit();"> <option value="0">Select [COLOR="Green"]<?php if (isset($_GET['cmbcategory'])) {echo $_GET['cmbcategory'];} else echo "category"; ?>[/COLOR]</option> <? $sql1=mysql_query("select name from categories") or die(mysql_error()); while($row=mysql_fetch_array($sql1)) { $category = $row['name']; ?> <option value="<?php echo $category; ?>"><?php echo $category; ?></option> <? } ?> </select> …

Member Avatar for kanaku
0
252
Member Avatar for Phillip_Hess

I was thinking you could do it by joining the table to itself. But then you have the problem of not knowing if the page you're looking up is in the 3rd or 4th level of 'childhood'. Anyway, [URL="http://www.keithjbrown.co.uk/vworks/mysql/mysql_p5.php"]this is the article on joining tables[/URL] and this is the [URL="http://www.keithjbrown.co.uk/vworks/mysql/mysql_p8.php"]article …

Member Avatar for Ramy Mahrous
0
159
Member Avatar for mohsinbutt
Member Avatar for bond124

*googles Gurgaon* WOW... [code] /* Start welcome message */ $user = "rohit"; $location = "Gurgaon"; $base_url = "http://www.daniweb.com/forums"; echo " Hello $user! How are things in $location? We hope you have a good time here at $base_url. Cheers! $base_url. "; [/code]

Member Avatar for kanaku
0
48
Member Avatar for bvssam

Perhaps send an email to yourself when 1 row is updated after the adduser query? [code] ... php code for query... if @@rowcount > 0 ... php code for mailing the admin [/code] Oh look, there's a [URL="http://www.daniweb.com/forums/post188143.html"]daniweb thread on sendmail[/URL]!

Member Avatar for kanaku
0
134
Member Avatar for knrakesh

Can you show us your code so far? And are you working with PHP and a database or are you just practicing with PHP?

Member Avatar for kanaku
0
87
Member Avatar for masterOFwww

You don't have to reopen the php tags in a heredoc (heredoc is the EOT thing you're using). So if [icode]$ad_row['url'][/icode] contains the url, you can just include it as you would any other variable in php: [code] // HOORAY! SUCCESS! echo <<<EOT window.location= "{$ad_row['url']}"; EOT; destroy(); ?> [/code] The …

Member Avatar for masterOFwww
0
111
Member Avatar for khr2003

Hide it in a sea of confusing code... hehe But the only way I can think of is to scare them off with legal terms in your license or readme.txt file... because I think that as long as they can understand the code, they can probably remove it. (sorry it …

Member Avatar for kanaku
0
62
Member Avatar for kanaku

I didn't know where else to put this thread *sorry if it's in the wrong forum* I want to go an a hiatus, and I found this .htaccess tutorial where you can redirect users from an old file or directory to a new file or directory... I was wondering if …

Member Avatar for ithelp
0
177
Member Avatar for jbennet

Well, I'm not terrified of clowns because the only clown I got to see up close failed his magic trick.. mainly because my friends and I figured out what he was doing.. so you could say that we had the power over the clown. hehe.. I'm still a child. So …

Member Avatar for maui_mallard
0
243
Member Avatar for kanaku

I'm using an html form to add to a list, specifically a flatfile database called demo3.txt. The add.php file is this: [CODE] <?php $name = $_POST['name']; $nickname = $_POST['nickname']; $motto = $_POST['motto']; $fp = fopen("demo3.txt","a"); if(!$fp) { echo 'Error: Cannot open file.'; exit; } fwrite($fp, "\r\n".$name."|".$nickname."|".$motto); echo 'The data has …

Member Avatar for kanaku
0
97