- Upvotes Received
- 7
- Posts with Upvotes
- 7
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
38 Posted Topics
Re: Perhaps you should ask your client about his specific wishes... | |
Re: Perhaps the multiquote can be re-added as a checkbox? That would be more intuitive? | |
Re: What is your "desired output"? Because this output looks fine to me | |
Re: Please post the exact line of code you're using. | |
Re: You should have a look at [URL="http://www.daniweb.com/hardware-and-software/linux-and-unix/getting-started-and-choosing-a-distro/threads/41955"]this[/URL] thread. | |
Re: You could write it to a .csv file? This is a file that excel can read where all values are delimited by comma's (or semicolons). You can write to such a file in the way you would write to a regular textfile. | |
Re: Well the comment in the file says it all I guess: [code] require 'connect.php'; require 'functions.php'; // Those two files can be included only if INCLUDE_CHECK is defined [/code] You can think of INCLUDE_CHECK as a "variable". The [icode]define('INCLUDE_CHECK',true);[/icode] assigns the value "true" to the variable INCLUDE_CHECK. There's probably somesort … | |
Re: You shouldn't read in the whole file in your memory, this will result in an enormous memory-usage. Just 1. open the file 2. read in 1 line 3. parse it 4. store it, 5. goto step 2 | |
Re: @cossay: You might want to check your code for typos. For example: [code] <table [COLOR="Red"]widht[/COLOR] = [COLOR="Red"]"550 [/COLOR]align = "left">[/code] | |
I just updated Ubuntu to Lucid Lynx and also got an OpenOffice update: it's now 3.2. When I started it, the progressbar flashes to 100% in a second or two but to get from there to the actual program takes about two minutes. When I "top", I see that Java … | |
Re: You mean something like [URL="http://http://www.codingforums.com/showthread.php?t=71882"]this[/URL]? ![]() | |
Re: You have an extra quote in your query: [icode]gender = '$gender'"[/icode] <-- remove this double quote : [CODE] $result = mysql_query("UPDATE customer SET nic = '$nic', full_name = '$full_name', name_with_initials = '$name_with_initials', address = '$address', contact_number = '$contact_number', gender = '$gender' where customer_id=$_POST['customer_id']") [/CODE] | |
Re: What IE version? (flagged to move) | |
Re: [URL="http://httpd.apache.org/docs/1.3/howto/htaccess.html"]tutorial[/URL] | |
Re: No please don't do that. Just change: [icode]$val=$_GET['teachers'];[/icode] to [icode]$val=$_POST['teachers'];[/icode] Sending parts of a delete-query in the address-bar of your browser is not a good idea! What would happen if someone changed the _GET var in the address-bar to 1=1 ?? Your entire table-contents will be deleted.. Ever heard of … | |
Re: [QUOTE=Lapixx;]Also, I understand that a forum needs to save a lot of data, but I assume *something* is done to make it all run smooth right?[/QUOTE] Big ass databaseservers running Oracle or postgresql are required for a descent-size forum. If you really need to store a lot of data, you … | |
Re: See [URL="http://http://www.daniweb.com/forums/thread274190.html"]this[/URL] | |
Re: You should have a look at $_POST variables. Here's a [URL="http://www.tizag.com/phpT/forms.php"]tut[/URL] | |
Re: Did you mean : [icode]SET GLOBAL time_zone = 'US/Eastern';[/icode] | |
Re: This piece is wrong: [code] for($i = 1; $i <= 3; $i++){ [COLOR="red"]$lname .= isset($names[$i]);[/COLOR] }[/code] What you're actually saying is: Add the return-value of the function "isset" to the string "$lname". So it's trying to add true or false to your string. What you probably meant was: [code] for($i … | |
Re: Can't tell. Probably "Custom", but each distro has it's own installer. If you really want to select all your modules, try Gentoo. Caution: not newbie friendly.. | |
![]() | Re: You could make an additional table in your database where you store a linkname and a counter? Each time someone clicks a link, you update the table. example: table (link_visits) = [code=text] link(varchar) | visits (integer) ------------------------------------------------- contact | 1 other_page | 12 [/code] [code] function UpdateCounter($link_name) { $query = … ![]() |
Re: [QUOTE=finalist;1179912] 3. Some Linux Application to work using Autocad files [B].dwg[/B]; [/quote] Have a look [URL="http://http://www.roseindia.net/linux/linux-cad-software.shtml"]here[/URL]. [QUOTE=finalist;1179912] Is it possible to install them on a USB HDD 320 Gb ? [/QUOTE] Yes. [QUOTE=finalist;1179912] How many independent Linux Distributions can I istall on USB HDD 320 Gb ? Thanks ![/QUOTE] Depends … | |
Re: Do you know how to read a file? Do you know how to insert data in a database? Do you know the structure of the file? If not: can you change the structure of the DB? Do you know loops, string and other basic-php-stuff? | |
Re: you mean something like [URL="http://http://php.net/manual/en/function.memory-get-usage.php"]memory_get_usage()[/URL] ? | |
Re: Does you windows 98 PC have a: 1. cd-burner 2. network interface 3. USB 4. Card reader ? | |
Re: [QUOTE=metalix;1181817] try: [CODE]if($ut = false){ session_unset(); }[/CODE] [/QUOTE] I think you mean: [iCODE]if($ut [COLOR="Red"]== [/COLOR]false) ?[/iCODE] | |
Re: How about strstr()? [code] while ($f = $d->read()) { if ( strstr( $f, ".php" ) continue; //skip this one [...rest of the code....] [/code] But be aware that this is case-sensitive. So .PHP file will not be detected! | |
Re: >> $doc->save("file.xml"); What does this return? FALSE or a number? | |
Re: [QUOTE=Arianna;1181815](This is in the PHP forum as I'm not sure if the solution is in PHP or MySQL)[/QUOTE] It's MySQL, but no problem :) How about using an union? [code=mysql] SELECT * FROM `threads` WHERE `forumid` = 1 AND `status` = 'stick' UNION SELECT * FROM `threads` WHERE `forumid` = … | |
Re: Sounds like you're looking for [URL="http://php.net/manual/en/function.is-numeric.php"]is_numeric()[/URL] or perhaps even [URL="http://www.php.net/manual/en/function.is-int.php"]is_int()[/URL] | |
Re: I have no idea what you're talking about. Please give an example of such a "report" | |
Re: >> failed to open stream: No such file or directory It's trying to open "C:/Program Files/Apache Group/Apache2/htdocs/Project/" which isn't a file as you can see and that's why it failed. This means that [icode]$_GET['filename'][/icode] doesn't contain a value. | |
Re: Hi, If you want to start programming with sockets etc, I recommend "[URL="http://beej.us/guide/bgnet/"]beej's guide to network programming[/URL]". It's one of the best network-tutorials on the net as far as I know. Good luck! | |
Hi all, I'm using a div as a pop-up on a page to show some addtional information. First some code: [code=html] <td> <div class="floatingDiv" id="popup"> some txt here... </div> <p style="margin-top: 0px" onMouseOver="ShowContent('popup',0); return true;" onMouseOut="HideContent('popup'); return true;" > .. short message here </p> </td> [/code] [code=css] .floatingDiv { display: … | |
Re: If you look at the function [URL="http://www.cplusplus.com/reference/string/getline/"]getline [/URL], you can see that it's first argument is of the type "istream&". In the example provided in the link, cin is used, but this can also be a stream to an inputfile. |
The End.