Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0

38 Posted Topics

Member Avatar for kk_pbr
Member Avatar for aa26i
0
198
Member Avatar for WaltP

Perhaps the multiquote can be re-added as a checkbox? That would be more intuitive?

Member Avatar for Ezzaral
1
188
Member Avatar for hsetaknev
Member Avatar for hsetaknev
0
716
Member Avatar for masocha
Member Avatar for Charles1620
Member Avatar for ben.matthews18

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.

Member Avatar for jingda
0
166
Member Avatar for abhi10kumar

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.

Member Avatar for karthik_ppts
0
150
Member Avatar for azegurb

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 …

Member Avatar for tomato.pgn
0
286
Member Avatar for Bliksempie

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

Member Avatar for pakkupakku
0
1K
Member Avatar for Roriomphe

@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]

Member Avatar for cossay
0
125
Member Avatar for n_e

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 …

Member Avatar for alaukik
0
161
Member Avatar for davecoventry

You mean something like [URL="http://http://www.codingforums.com/showthread.php?t=71882"]this[/URL]?

Member Avatar for diafol
0
2K
Member Avatar for heshanm

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]

Member Avatar for hielo
0
132
Member Avatar for ozman26
Member Avatar for prem2

[URL="http://httpd.apache.org/docs/1.3/howto/htaccess.html"]tutorial[/URL]

Member Avatar for BanneyHill
0
145
Member Avatar for maunica

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 …

Member Avatar for Manuz
0
85
Member Avatar for Lapixx

[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 …

Member Avatar for Lapixx
0
463
Member Avatar for veledrom

See [URL="http://http://www.daniweb.com/forums/thread274190.html"]this[/URL]

Member Avatar for muralibobby2015
0
94
Member Avatar for niths

You should have a look at $_POST variables. Here's a [URL="http://www.tizag.com/phpT/forms.php"]tut[/URL]

Member Avatar for n_e
0
47
Member Avatar for griffith
Member Avatar for griffith
0
125
Member Avatar for fiona@vas

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 …

Member Avatar for n_e
0
95
Member Avatar for hikarip

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..

Member Avatar for jamaal
0
162
Member Avatar for Big-D2xL

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 = …

Member Avatar for Big-D2xL
0
189
Member Avatar for finalist

[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 …

Member Avatar for mooreted
0
191
Member Avatar for shaireen

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?

Member Avatar for shaireen
0
112
Member Avatar for niths

you mean something like [URL="http://http://php.net/manual/en/function.memory-get-usage.php"]memory_get_usage()[/URL] ?

Member Avatar for n_e
0
60
Member Avatar for Darizuka
Member Avatar for crunchie
0
102
Member Avatar for Asimina

[QUOTE=metalix;1181817] try: [CODE]if($ut = false){ session_unset(); }[/CODE] [/QUOTE] I think you mean: [iCODE]if($ut [COLOR="Red"]== [/COLOR]false) ?[/iCODE]

Member Avatar for metalix
0
164
Member Avatar for seularts

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!

Member Avatar for n_e
0
305
Member Avatar for Venom Rush
Member Avatar for Venom Rush
0
1K
Member Avatar for Arianna

[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` = …

Member Avatar for Arianna
0
113
Member Avatar for D4n1sD

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]

Member Avatar for metalix
0
163
Member Avatar for manish.mca

I have no idea what you're talking about. Please give an example of such a "report"

Member Avatar for n_e
0
48
Member Avatar for niths

>> 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.

Member Avatar for n_e
0
284
Member Avatar for chinnaedu

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!

Member Avatar for chinnaedu
0
233
Member Avatar for Kimberley
Member Avatar for n_e

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: …

Member Avatar for dipak_passion
0
115
Member Avatar for restrictment

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.

Member Avatar for trcartmill
0
233

The End.