194 Posted Topics

Member Avatar for TonyG_cyprus

This is not really a problem to me, but may be a bug. On odd occasions the icons net to the forum posts change at will! This may be my connection, or something else. An example: This morning I scanned through the PHP forum, and there were about ten posts …

Member Avatar for TonyG_cyprus
0
163
Member Avatar for davy_yg

I never use backticks, or quotes around field names, also make sure there are no spaces mysql_query("INSERT INTO Stock (Produk,Jumlah,Tanggal) VALUES ('PO','Jumlah','Tanggal')"); spaces will upset mysql!

Member Avatar for TonyG_cyprus
0
171
Member Avatar for TonyG_cyprus

I always try to learn one new thing each day, whether it's work (I'm a maintenance engineer), hobbies (php, sql, html) or languages, just now it's greek, as I lived in Cyprus for 8 years i'm making the effort, hard language, especially at my age, but show willing, and you …

Member Avatar for Reverend Jim
0
198
Member Avatar for hudhasama
Member Avatar for davy_yg

Check your opening and closing php tags. You have one missing. You should re-write this code referring to a good reference manual as you are doing it.

Member Avatar for broj1
0
225
Member Avatar for stutego

if this is register.php change this line <form action = "register.php" method=post> to this <form action="" method="post"> also I noticed that you are double encrypting the password and salting with a random number in the 100,000 range, I would think that gives a 100,000 to 1 chance of it being …

Member Avatar for Biiim
0
220
Member Avatar for McLaren

check out wapache, a sourceforge project, I think it will be your perfect solution, I have built some desktop apps with it, using sqlite database. It's as easy as making a website.

Member Avatar for McLaren
0
255
Member Avatar for <M/>
Member Avatar for aglaf1979
Member Avatar for TonyG_cyprus

Is it posible to use sqlite3 in procedural rather than object oriented mode, or do I *have* to learn PDO?

Member Avatar for pritaeas
0
83
Member Avatar for tony.griggs.79

I'll mark this solved, since I came to work, and logged in ok with the computer there (better connection), at least I know now where to look!

Member Avatar for TonyG_cyprus
0
100
Member Avatar for Reverend Jim

Then by that definition, I'm definately scrooge-like. I'm even worse at new year, with all the insincerity that brings!

Member Avatar for Reverend Jim
2
208
Member Avatar for garyjohnson

looks like you are trying to query an array, not a database table, change '$images[3]' for the actual table name and try it.

Member Avatar for AARTI SHRIVAS
0
296
Member Avatar for hwoarang69

Use css, if(strlen($_POST['f_input'])<2)) { echo"<input type='text' class='abc' value='<?php $_POST['f_input'] ?>'>"; }elseif(strlen($_POST['f_input']>2)){ echo"<input type='text' class='def' value='<?php $_POST['f_input'] ?>'>"; } so your css would be like .abc{ border-color:red; } .def{ border-color:black; }

Member Avatar for hwoarang69
0
180
Member Avatar for sagisgirl

Ln 29, take the double quotes off so:- if ($row['tahap']==1) Ln 31 single quotes only.

Member Avatar for sagisgirl
0
96
Member Avatar for rahim92

It's the query on line 7, set variables first: $name=$_POST['name']; $name= mysql_real_escape_string($name); $pass= $_POST['password']; etc, and then the query: mysql_query("SELECT * FROM admin WHERE name='$name' AND password='$pass'"); and do the same for the next query, re-using the same vars. And you really should be hashing the password for security at …

Member Avatar for TonyG_cyprus
0
163
Member Avatar for TonyG_cyprus

Ok, so this is driving me nuts, because I can't see why it's happening. Simple code: <html> <head> <meta name='author' content='TonyG' /> <meta name='description' content='' /> <meta name='keywords' content='' /> <title></title> <link rel='stylesheet' type='text/css' href='css/style.css' media='all'/> <link rel='shortcut icon' href='favicon.ico'> </head> <body><div class='container'> <div class='header'></div> <div class='content'> <div class='navi'> <ul …

Member Avatar for TonyG_cyprus
0
142
Member Avatar for Pobunjenik

Good Day, young apprentice! Hi, I'm php and mysql/sqlite meself, but welcome!

Member Avatar for <M/>
0
106
Member Avatar for garyjohnson

RE 'php mysql query wont work properly', you're still trying to SELECT from an array rather than a database table aren't you? I don't see anywhere prior to the query where "$images[$q]" is defined

Member Avatar for diafol
0
241
Member Avatar for 03hasnam

Something strikes me as strange about your question, not to seem rude, but if the whole thing is being printed, then you are not using a browser and php interpreter. If that were the case the php would not be printed, check those things before driving yourself crazy trying to …

Member Avatar for TonyG_cyprus
0
216
Member Avatar for cristian.stilpeanu.3

You are in the wrong section, you want Internet marketing > Search Engine Optimization. there you may find what you are looking for.

Member Avatar for TonyG_cyprus
0
96
Member Avatar for SunnySideUp

I'm not an expert by any measure, but it does seem to me that you've made your code overly complicated, simpler code makes simpler debugging, IMHO.

Member Avatar for SunnySideUp
0
433
Member Avatar for TonyG_cyprus

I've just been given an ex-office IBM thinkcentre A50p 8422 tower,Pentium 4 3.2 gig, no drive or memory. The problem... When I transposed my current sata drive and memory into it (windoze 7 ultimate) and powered up, I got the beeps! It seems to be, after several attempts, 3,1,4,3. I've …

Member Avatar for tinstaafl
0
152
Member Avatar for ImZick

Relax, take two days from work, write some code, get this damned pc to work *properly!* and good food and beer..... simple!

Member Avatar for kemcar
1
351
Member Avatar for ImZick

As an 'ancient' I find video tutorials difficult, much better is text you can print, and then refer to as you learn.

Member Avatar for TonyG_cyprus
0
179
Member Avatar for ACSaderholm

Shooting in the dark, 'cause networkings not really my thing, but is it an ip address thing? checked network ipv4 props for auto ip assign? just a thought as it's only one machine, it must be that machine that has a problem.

Member Avatar for vbalag
0
307
Member Avatar for noahjonesnoah

I may be missing something here, but souldn't there be a row in STUDENT for classes taken and some sort of relationship between tables?

Member Avatar for TonyG_cyprus
0
168
Member Avatar for Reverend Jim
Member Avatar for Reverend Jim
0
214
Member Avatar for Dani

Sorry to be negative, but it sounds to me like you're trying to turn Daniweb into an exclusive 'club', wanting only 'quality' questions. Some of the answers I read are already a bit sharp to say the least, and not everyone has the thought to look for manuals etc; first, …

Member Avatar for diafol
0
311
Member Avatar for TonyG_cyprus

Have you got one? A list of things you would like to achieve before you die? mine is: 1/ Write a stunning program that 600 people buy, but 60,00 pirate. 2/ Really know and be fluent in another language (Greek in my case). 3/ Visit Tibet. 4/ Win just enough …

Member Avatar for jalpesh_007
0
160
Member Avatar for TonyG_cyprus

Can anyone suggest a good sqlite3/php tutorial for beginners? I've been using sqlite, and now wanting to learn sqlite3, am looking for a good tutorial but the only ones I seem to find are either assuming you know version 3 already, or are for command line.

Member Avatar for pritaeas
0
107
Member Avatar for eminenz cw

@ MikeyIsMe, Rugby Footbal is actually the correct name for this ancient sport, which has it's origins, I belive, before football (or soccer as it's known in the U.S).

Member Avatar for Lardmeister
0
162
Member Avatar for christinetom

HTMl is virtual, it is not 'written' on anything per se, you write your code using a text editor, such as notepad, and store it on the hard disc of a server as 'pages' of your website. When the site is requested by a browser, as you have done with …

Member Avatar for JorgeM
0
79
Member Avatar for <M/>

My peeve... having a snippet that simply refuses to work, and spending ages trying to find why, only to discover a stupid typo like a missing quote or something. @Rev, I hate when they get to the checkout, wait for half the store to go through, and then decide to …

Member Avatar for <M/>
0
164
Member Avatar for Mike Askew

Try as I might, I cannot get to grips with either facebook, or twitter. I have accounts on both, and find them a complete *waste* of time. In less productive moments at work...... ah yes, Tea and ciggies! And I always have a usb drive with latest project in my …

Member Avatar for Bob Hensley
0
187
Member Avatar for happygeek

For me, if the whole world's mobile 'phone network(s) were nuked tonight, it would be ten years too late!

Member Avatar for TonyG_cyprus
2
455
Member Avatar for happygeek

@happygeek, always the same story...... invent a game, teach the rest of the world to play and love it, and sit back as they all get better at it..............

Member Avatar for <M/>
0
170
Member Avatar for <M/>

Nothing in the parts of europe i'm familiar with, England, france, cyprus (now), trouble is in england things are so bad economically that the 'sales' idea is now an all year round thing, instead of twice a year. Maybe the prices are too high to start with?

Member Avatar for <M/>
0
164
Member Avatar for TonyG_cyprus

For my project, these two queries don't work. The sqlite manual says to use 'qualified-table-name' but if I do (flist.fdata) an error is returned 'no such table'. As they are below no errors are returned, but the database table is not affected. if (isset ($_POST['del'])) { $id = $_POST['id']; $titl=$_POST['titl']; …

Member Avatar for TonyG_cyprus
0
208
Member Avatar for TonyG_cyprus

Hi all,Anyone know of a decent free sqlite manager. One that will work with sqlite not sqlite3. Ive tried some and not been able to find one that works!

Member Avatar for TonyG_cyprus
0
193
Member Avatar for TonyG_cyprus

Hi, Does anyone know if Bing translator is still available, or has it gone the same way as google, and converted to 'paid'? I'm trying to use jquery translate on a website that I'm building, but despite 3 days of searching I cannot find how to get a Bing Appid …

Member Avatar for TonyG_cyprus
0
121
Member Avatar for TonyG_cyprus

I recently had to change my motherboard and re-install win 7. So far so good, I had all my program install files on a back up hdd except one, and thats where it goes pear shaped. I have rapid php, but only the files of the previously installed copy, I …

Member Avatar for techsheaven
0
128
Member Avatar for TonyG_cyprus

Hi, I have a mysql database for stock records in the pub I work in. The code below displays the list of items and sizes, what I need is to be able to update several rows by subtracting the number in the qty column from the bal column in the …

Member Avatar for urtrivedi
0
165
Member Avatar for TonyG_cyprus

[B]Hi guys[/B] I'm fairly new to php but learning fast. Here's my problem. I have the code below in a website I made for my local pub, it works fine, but is ther a way to dynamically add another row to the table when the number of records displayed is …

Member Avatar for TonyG_cyprus
0
131

The End.