Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~28.9K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Tags

39 Posted Topics

Member Avatar for gotboots

Hi all, I have recently made a ajax script that works completely. It updates the database as required on click of the FU anchor. In the middle of the form I also have a yes | no option that copies the billing address to the shipping address, which also works. …

Member Avatar for Ralf_1
0
16K
Member Avatar for newbie26

Why don't you make a JavaScript calculator. There are loads of scripts available. As for a notepad, just make a text area input, with CSS height and width of 100%. Then php to receive and process it. Or make it store the note as local storage. Pretty sure all browsers …

Member Avatar for pritaeas
0
867
Member Avatar for gotboots

Hi all. Im wondering if it is common practice to encrypt the database contents. or is it normally left in plain text. for example, in a databse I have, the contents is stored in plain text: a select query would bring up "hello world", but should it be an encrypted …

Member Avatar for debasisdas
0
253
Member Avatar for CarterLangley

Dont knowe if this helps, but i usually write my html within php with ' rather than ". example, echo "<li style='color:red;'>hello world</li>"; another little thing i do is use arrays to get my records, can sometimes keep coding efforts down. example, echo "<div align='left'>"; while($row=mysql_fetch_array($result)) { $columns = array("manufacturer", …

Member Avatar for CarterLangley
0
423
Member Avatar for <M/>

Use your browser to download the page as a whole, then sift through it to get the coding needed. There will be a JavaScript file that does the sliding, then the code on the page that is manipulated by the JavaScript. Haven't got much time,I need to go to work. …

Member Avatar for <M/>
0
126
Member Avatar for rrlogu
Member Avatar for rrlogu
0
203
Member Avatar for gotboots

Hi all. I have just setup iis on my windows 7 laptop. Just wondering if there are any settings I should change to make sure it is secure. Currently have the server running, and can access it by static ip from outside networks. Any help is much appreciated. Cheers

Member Avatar for DELL_deepa
0
241
Member Avatar for gotboots

Hi all, I have the following code to process through my requests, then use in a database. FIRST of all, I was wondering if i have it in the right order, and SECOND, if there are any other steps i could do to secure up my application. have a look, …

Member Avatar for veedeoo
0
265
Member Avatar for jcomputing

Google CSS hover menu bud, there are heaps of tutorials and free scripts online

Member Avatar for gotboots
0
204
Member Avatar for waqar3

An alternative is the group by query SELECT date FROM product_data GROUP BY date Please mark this post as solved by the way

Member Avatar for Member #120589
0
116
Member Avatar for Mongz

Hope this helps you bud, it is the php version of your form stripped down, and with a little bit of whats going on <? // Create an array to get the data from the form $arr = array("email", "n", "e", "m", "submit"); foreach ($arr as $value) // loop through …

Member Avatar for gotboots
0
154
Member Avatar for gotboots

Hi all, Heres my problem, not sure if this is the right place but daniweb users seem to answer every other question I have so here goes. I have windows 7 on my laptop. I have a repair disc that I have made from the same machine when it was …

Member Avatar for flagstar
0
177
Member Avatar for gotboots

Hi All Im trying to get this to work, but can only get it to work without putting the form tags in, and wont work with more than one set of the inputs. the below is the result when i use ajax to search for item names, then want to …

Member Avatar for gotboots
0
3K
Member Avatar for gotboots

Hi all, I was wondering if it is a common thing to do when requesting variables to have the request names in an array and use a for loop to request the submitted variables. (will it hold the values if its a for loop?) What i have at present is …

Member Avatar for gotboots
0
663
Member Avatar for gotboots

Hi there, I have recently been looking into encryption, for MySQL and php, to figure out someway to encrypt the information in the database, or more to the point before it goes in, or decrypted when it comes out. What I'd like to happen is for the info submitted from …

Member Avatar for gotboots
0
210
Member Avatar for bflack

change line 8 to $column = $column + 1; i gather that you are wanting to update column by one. can you post more info please bud

Member Avatar for scaiferw
0
132
Member Avatar for spowel4

or you could have a database that has all your variable names and then the values asigned to each variable. you could then select each variable as you need it and be able to update / delete etc whenever you like. can you give an example of what youve written, …

Member Avatar for jstfsklh211
0
144
Member Avatar for Trizocy

this will result in the cookie value being set as computer. [CODE]setcookie("user", "computer", time()+86400); [/CODE] then have this in another page that you link to, eg have a link to redirect.php on your other pages, the save the following code as redirect.php: [CODE]<? $cookie = $_COOKIE['user']; $linktosite = "www.google.com?q=$cookie"; header("location: …

Member Avatar for gotboots
0
122
Member Avatar for andsonlhs

I dont think you can save the vid or pdf files to the database. You need to link to the document, but put the name of the file in the database. Then echo it through an anchor. Is the file being transfered? Try it with a pic too

Member Avatar for pritaeas
-1
243
Member Avatar for anthonyjpv

If your writing in php, no one can see your php coding. Only the sever administrator and the ftp access user, eg you, can see your php coding. The only part of the source code they could get is the html output that you have either echoed, printed or hard …

Member Avatar for Member #120589
0
382
Member Avatar for vectro

i dont think the js will read the php, regardless of the browser. js is client side, php is server side. i may be wrong. try this instead: rename it to list.php and include it with php (provided you are using php for the web page) I'm pretty sure that …

Member Avatar for vectro
0
229
Member Avatar for gotboots

Hi all, just wondering what the best way is to structure time in sql database. For example, at present i use this format ; 19/08/2011 (which is day/month/year). when i call this in a sql statement, it shows all results, but not in a chronological order. Can any body solve …

Member Avatar for urtrivedi
0
178
Member Avatar for vizz

you need to put the form that you want to disappear in the div that will show the results. At the moment, you have this for example: form start form end div start display results if searched else nothing div end so the div is changing as you have told …

Member Avatar for mschroeder
0
267
Member Avatar for edn_781

I cant see why not. try your page yourself with cookies on, then try it again with cookies off. although you could try this: if cookies are off, use sessions instead of cookies

Member Avatar for gotboots
0
117
Member Avatar for Member #165061

just wondering why the pages refreshes, is there a meta refresh tag in the head? Could possibly be that the button type is submit, which is causing the page to refresh. could try and recode it to use <button id="groupname" value="show">

Member Avatar for gotboots
0
203
Member Avatar for gotboots

Hi all, was just wondering what is the difference between $_GET[''] $_POST[''] $_REQUEST['']? I normally use $_REQUEST[''] to get my values from a form or url, but not too sure why there is 3 different types. from what i understand, they are all the same and do the same thing …

Member Avatar for broj1
0
325
Member Avatar for gotboots

Hi all, I have this code that seems to work fine for the order but cant get it to pass the invoice side of things. the trouble im having is when i do the order its fine, but when i do an invoice it sends me back to the order …

Member Avatar for gotboots
0
169
Member Avatar for davy_yg

try this under your $_SESSION lines: [CODE] // this is setting the session as a variable $color = $_SESSION['color']; // check if the session is not registered if($color=="") { // echo a message saying it isnt echo"No session registered with the name color."; } // check if the session is …

Member Avatar for ko ko
0
257
Member Avatar for srikanth2321

try this: $this = "120"; $that = "136"; mysql_query("SELECT * FROM table WHERE column BETWEEN '$this' AND '$that'"); then a while statement for results. Use NOT BETWEEN for well, you get it, not between. Hope this helps you. Please mark solved if solved, cheers.

Member Avatar for aquanetta
0
128
Member Avatar for eduard77

you need to either call it in a function or use it as a variable. I have written it for you here <? // You can also write the name here instead of the constant // just enclose it with double speech marks $host = TGP_DBSERVER; $userName = TGP_DBUSER; $passWord …

Member Avatar for ko ko
0
178
Member Avatar for thepales

are you registering the session first somewhere? create a file, insert this code, then view it in your browser: <? session_register("myusername"); session_register("mypassword"); if(session_is_registered(myusername)){ echo"Session registered. Please mark this <a href='http://www.daniweb.com/web-development/php/threads/378222'>thread as solved,</a> and upvote my comment too, cheers"; } if(!session_is_registered(myusername)){ echo "session not registered. go back to <a href='http://www.daniweb.com/web-development/php/threads/378222'>Daniweb Forum</a>"; …

Member Avatar for fenixZ
0
295
Member Avatar for khoma

if database development, i'd say php/mysql running on apache. Create the database, create the forms, views etc, and your done. Simple is best. have a main view. then a form to edit the data. use your create forms also as an update form by having no action url, and a …

Member Avatar for gotboots
0
98
Member Avatar for anuradha2011

php can connect to odbc, not sure if this helps [CODE=PHP]<?php $conn=odbc_connect('northwind','',''); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT * FROM customers"; $rs=odbc_exec($conn,$sql); if (!$rs) {exit("Error in SQL");} echo "<table><tr>"; echo "<th>Companyname</th>"; echo "<th>Contactname</th></tr>"; while (odbc_fetch_row($rs)) { $compname=odbc_result($rs,"CompanyName"); $conname=odbc_result($rs,"ContactName"); echo "<tr><td>$compname</td>"; echo "<td>$conname</td></tr>"; } odbc_close($conn); echo "</table>"; ?>[/CODE]

Member Avatar for gotboots
0
237
Member Avatar for prof php

use fread if you can but make a stylesheet up for page too. beware as some websites will not let you do this as a check gets done for "in iframe' this is one way: <html> <head> <style> <!-- i used this for an example, you can create your own …

Member Avatar for gotboots
0
186
Member Avatar for gotboots

Hi I have started this code but i cant get it to work. new to javascript, but not sure how it works. im trying to make an alert for a text box "rrp" that alerts when it is less than the list price, therefore stopping an incorrect price being lodged. …

Member Avatar for extemer
0
2K
Member Avatar for jacob21
Member Avatar for sarithak

you will need to add a text box on the page, then add the variable to your processing page, and add it to the sql statement. eg, add this line to the form page: <input type="text" name="delTime" value=""> Then add this line to the processing page, providing that it is …

Member Avatar for gotboots
0
72
Member Avatar for markdean.expres

what do you mean all text. could be a little clearer. its written mostly in javascript any way. could be written in php and have it writing its own script everytime as a security type deal. who knows, but could you be a little clearer with your question

Member Avatar for gotboots
0
69
Member Avatar for gotboots

Hi all, pretty new to sql. have made code already for showing, adding and deleting data from database but can't seem to make the update work. any help is much appreciated. here's what I have: [CODE]<html><body><form action="update.php" method="post"> <label>Person ID:<br></label> <input type="text" name="personID" size="40" value="" maxlength="150" /> <label>Customer Name:<br></label> <input …

Member Avatar for gotboots
0
188

The End.