Posts
 
Reputation
Joined
Last Seen
Ranked #412
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
~73.6K People Reached
About Me

I always tell the truth. Even when I lie ...

Interests
PHP/MySQL
Favorite Tags
Member Avatar for Rhyan

Hi there. Hope somebody can advise on the following: I have created a table into my database which has a coloumn with datatype defined as DATE. The normal MySQL date order is YYYY-MM-DD, however I need to enter it in format DD-MM-YYYY. I am using php to insert data into …

Member Avatar for Gakwaya Joel
0
17K
Member Avatar for lifeworks

Hi quite a simple question i hope, i want to include a couple of checkboxes in my form and if they are checked i'd like to set the appropriate db cell as true... should i be looking at something like? [quote] if(chkbox_name == 'checked') { $cdplayer = true; } ... …

Member Avatar for bilalbinamar
0
6K
Member Avatar for MitkOK
Member Avatar for LastMitch
1
578
Member Avatar for dayballer2285

Hello, I am using php to check if a URL is available using th if file exists function. [code] if(file_exists("http://www.domain.jsp")) { $lines = file('http://www.domain.jsp'); }else{ $lines= echo $variable } [/code] But it keeps giving me errors...is there an alternative to if file exists? Thanks

Member Avatar for sakkal
0
1K
Member Avatar for Binary

I recently started working with PHP, and MySQL. And I have come with a little problem, I have tried a couple of things to solve it and they are not working. Well, basically I am trying to put a link on a page, but that page requires me to pass …

Member Avatar for almostbob
0
21K
Member Avatar for nil_gh_80

<b>Suppose I have a customer details form, after fillup that form when I'll press <submit> it will redirect me to an another form where those details will be shown in a .doc format. I want to print this page...can any one plz HELP ME how can I do this job....plz …

Member Avatar for nikesh.yadav
1
111
Member Avatar for MitkOK

Hello. I know that there are many ways to convert date in PHP, but i use those to two convert from/to MySQL DB.

Member Avatar for asimshahiddIT
0
193
Member Avatar for nanharb

I am trying to create an update query for a website, and I keep getting an syntax error message. I narrowed it down to the table column that is the only field that is set to be of type text. [code]UPDATE company SET references = "blah blah blah" WHERE company_id …

Member Avatar for cereal
0
2K
Member Avatar for michael123

In php mail() function, how can I send attachments? I didn't find parameter to do this. any help will be appreciated.

Member Avatar for saiprem
0
168
Member Avatar for dr4g

Every page in the system is grabbed into index.php. For each page i'd like the title to change according to the page it's on, this can be set manually within each page we want to send. My question is what would be the most effective method of updating the title …

Member Avatar for kcmartz
0
1K
Member Avatar for dudegio

Hello guys! Anyone that has an idea on how to store audio files in any format in MySQL database and downloading them when clicked during the retrieval or display of the said audio file, please help me. I've been looking it in the internet but mostly just storing images and …

Member Avatar for vinay1989
0
92
Member Avatar for MitkOK

Here are two simple functions to validate name and e-mail . int [COLOR="#008000"]valName[/COLOR]( string $arg1 ) - this function returns 1 if name is correct, 0 if incorrect int [COLOR="Green"]valMail[/COLOR]( string $arg1 ) - this function returns 1 if name is correct, 0 if incorrect

0
183
Member Avatar for superjacent

I dabbled in Ruby quite a while ago but only at the console level. I didn't take it any further at the time. I'm now considering treating it more seriously this time, though I'd have to start from the start. My understanding is that Ruby is a cross-platform development language. …

Member Avatar for fraogongi
0
164
Member Avatar for wjordan1987

Hello, I'm new to ruby I tried to view my webpage on the webrick server and this error came up. I made the webpage in notepage. All its says is "Hello World". I saved the ruby doc in the controllers folder as say_controller.rb and saved the notepad doc in the …

Member Avatar for MitkOK
0
78
Member Avatar for nanodano

I think it is unfair to stick the Ruby discussion forum inside Web Development. Ruby on Rails is a really handy web framework, but Ruby has other capabilities. I think it should be put under Software Development, does anyone agree?

Member Avatar for peter_budo
0
236
Member Avatar for tondeuse34

Hey guys again, well i got another question. When ever i have an if statement asking for input and i try to use an elif statement and run the code, it say's 'elif' is an syntax error. Is it an indention problem or something else? Thanks [CODE]print "1) Play" if …

Member Avatar for tondeuse34
0
157
Member Avatar for Brent.tc

Hi, I have made a program in c++ that inputs a file, and outputs the number of characters... I have placed this executable into my apache 2.2 server's cgi-bin directory under the name "TestApp.exe" how would I retrieve the output of this file by calling it with either PHP, or …

Member Avatar for MitkOK
0
66
Member Avatar for timo_81

Hi, I wanted to ask if somebody could help me on the following problem: I want to check how often a button in python/tk is clicked. I tried the folowing but it doesn't work: [code=python] click=0 def button_clicked(): click=click+1 print click [/code] but this won't work because the variable click …

Member Avatar for timo_81
0
161
Member Avatar for billabong2388

Hi guys, Quick question. Im having some problems with advanced sorting. Say i have the following list: [number] + [text] 3 text_red 7 text_yellow 9 text_blue 1 text_pink 3 text_black 6 text_orange 7 text_white Firstly the list needs to be ordered via the number at the front of the list …

Member Avatar for vegaseat
0
150
Member Avatar for rickarro

I'm very new to php and am looking for help getting data out of my MYSQL database. I've made all my proper connections and all is running fine so far. What i want to do is have people get a result from the database based on their input...i.e., put in …

Member Avatar for nav33n
0
143
Member Avatar for AbdullahKhatri

Hi, I was searching for the code to set a cookie at the start of the website like you can see at [url]http://www.apniisp.com[/url] , they have given the cookie at the start of the website which automatically popups. plz send me as soon as possible

Member Avatar for tirivamwe
0
295
Member Avatar for duttydea

I am a Newbie To PHP!! I used maestro php myqsl to crate the code below.. I am trying to change the query to include a where statment: "where Product_Category = Acoustic treatment" everytime i edit it i get a syntax Error!! please can you help? Thanks in advance [CODE]<?php …

Member Avatar for nav33n
0
331
Member Avatar for kings

hi i have a form ...i want to validate the fields in such a way it does not accept if the user is trying to enter numeric instead of characters.......... [COLOR="Red"]eg[/COLOR] in a name field if the user is trying to enter number....the typed data should not come...it should act …

Member Avatar for OmniX
0
108
Member Avatar for OmniX

Im trying to figure out a way to access a row I 'just created' via the primary key. As it being a primary key it is auto incremented. I am using php/mysql to create the row then I require to access that same row (via the primary key) to be …

Member Avatar for nomadhacker
0
183
Member Avatar for Barefootsanders

Hey everyone, I plan on buying a domain name/hosting from a web host but I wanted to see if anyone had some suggestions. I previously used godaddy.com and had a good experience but I have been checking out oneandone.com and it seems to look better. Does anyone have any other …

Member Avatar for MitkOK
0
209
Member Avatar for dannybarh

Grate Thanks, i have been designing website in html for some time now. i want to make my sites more powerful by using php or asp,but i can link up the pages for them to work like i do in html. i really need help,pls help.

Member Avatar for MitkOK
0
105
Member Avatar for Spaiz

Hello everybody, Yesterday I finished testing a new CMS I developed for a while, and now I'd like to ask for your help. Could you please help test this system under different PHP version/settings? The system works on a flat file database class I wrote, so no database setup or …

Member Avatar for Spaiz
1
9K
Member Avatar for MitkOK

Hi folks. I made some research on Rails vs. Django, but I didn't come to conclusion which is better to learn. Basically I don't know either Ruby or Python. RoR became very popular last year, has many resources and rich documentation and books/tutorials. On the other hand Python as a …

Member Avatar for pty
0
144
Member Avatar for dss

Hello, I need some help with php and tpl. What tpl is ? I saw lots of website having tpl files. whats the advantage ? How to work with tpl ? Basically is tpl used with smarty ? I hope i get some help at Daniweb. Thanks DSS

Member Avatar for MitkOK
0
69
Member Avatar for Taffd

Happy New Year everyone. Does anybody know how I can restrict access to a page to those users coming from a specific url. Thanks in advance Taffd

Member Avatar for Fest3er
0
102