- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I always tell the truth. Even when I lie ...
- Interests
- PHP/MySQL
|
Re:
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 … |
Re:
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; } ... … |
|
I wrote four simple functions to manipulate .htpasswd file ( Apache ). |
|
Re:
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 |
|
Re:
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 … |
|
Re:
<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 … |
|
Hello. I know that there are many ways to convert date in PHP, but i use those to two convert from/to MySQL DB. |
|
Re:
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 … |
|
Re:
In php mail() function, how can I send attachments? I didn't find parameter to do this. any help will be appreciated. |
|
Re:
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 … |
|
Re:
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 … |
|
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 |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
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? |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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 … |
|
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 … |
|
Re:
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 |
|
Re:
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 |