LiamG
-
Posts
46 -
Joined
-
Last visited
Never
Posts posted by LiamG
-
-
You can\'t do that, sorry.
Instead, try using a \"hidden\" field:
<input type="hidden" value="Buy Guide" name="buyitem">
And, also remember register_globals.
HTH, LiamG.
-
From what I understand it is possible to use PHP and Access (although, please try MySQL).
Try phpinfo()-ing your system:[php:1:de862a6f46]<?php
phpinfo();
?>[/php:1:de862a6f46]I think it depends on your system.
HTH, LiamG.
/*edit - I found what you are looking for. Under \"dbx\" in your phpinfo() file, it says the databases that you can use. MySQL, MSSQL etc.
-
Well, glad you figured it out :!: But, I would warn all those using DWMX (as I do) because the PHP/MySQL code (as I hear is the CFM, ASP and JSP code) is VERY messy.
It uses very unconventional - legal, but unconventional - coding styles that is very hard to edit and therefore debug.
I use DWMX and would recomment it to anyone, but not because of its PHP/MySQL compatibility, I use it for the layout tool!
HTH, LiamG.
(edit) - check this out http://www.i-source101.com/read.php?articleid=12
-
I\'ve had a look at this a few times, so I figured you guys would get it right first off, a new pair of eyes and a new brain is all I need:
$addnews_sql = "INSERT INTO `news` (`subject`, `username`, `body`) VALUES (`$_POST[\'subject\']`, `$_POST[\'username\']`, `$_POST[\'body\']`)";
returns the error:
while my SCHEMA for that table is:Unknown column \'\' in \'field list\'
Thanks guys,CREATE TABLE news (newsid int(11) NOT NULL auto_increment,
subject text NOT NULL,
username text NOT NULL,
posted timestamp(14) NOT NULL,
body longtext NOT NULL,
PRIMARY KEY (newsid)
) TYPE=MyISAM;
LiamG.
-
There you go, Doc answered it.
Thanks Doc!
LiamG.
-
Try putting it infront of the mysql_query.
LiamG.
ps - Shiva or someone might be able to more accurately answer this question later.
-
What about the array problem?
LiamG.
-
First, it says \"Print\" because of the line [php:1:6c27594e10]print \"Connected!\";[/php:1:6c27594e10]If you don\'t want it to say that, delete the line! YAY! One down.
Next, it says array for a reason unknown to me, however if you put a @ before the comment mysql_fetch_array you might find it will supress that. I don\'t REALLY know though.
HTH,
LiamG.
-
Okaly Dokaly.
-
Of course: hence, I put .google.
LiamG.
-
I think it might be something in your $sql command (after seeing your post in the newbie section).
I think your INSERT command might be wrong.
HTH,
LiamG.
ps - post everything anyways!
-
Try posting your SCHEMA and your PHP code as well.
Cheers,
LiamG.
-
You can also add other file types like:
AddType application/x-httpd-php .php .phtml .html .googleHTH,
LiamG.
-
Here: http://i-source101.com/read.php?articleid=10.
This also includes HOW to install if you want it.
Hope this helps,
LiamG.
-
Thanks.
-
Hi guys...hope all are well.
How does one say, like:
??SELECT * FROM `calendar` WHERE date = ---TODAY--- ORDER BY `date` DESC LIMIT 0,1Thanks,
LiamG.
ps - also - like --TODAY-- + 1 day
-
I\'ve heard of this but never actually tried them: http://f2o.org/.
They have FREE PHP, MySQL, CFM, ASP and almost any other server-side language. And, NO ADS!!!
HTH,
LiamG.
-
Call me dumb, call me stupid. Go ahead, make my day.
I know how to do this, I just have a brain that loses cells often. As Homer once said, \"I don\'t wanna take an Adult Ed class Marge, coz everytime I learn something new, it pushes something old out of my brain. Like the time I took a wine tasting class and forgot how to drive\".
Anyway, as we all know (and love) that with mySQL, the DATE format is in YYY-MM-DD. YAY!
I have an $sql query:
[php:1:83022e15d7]
$sql=\"SELECT * FROM `table` WHERE 1 AND `category` = \'wateva\' ORDER BY \'date\'\";
[/php:1:83022e15d7]
Now, I want that to display, DD-MM-YYYY.
Yet again, call me dumb and stupid, how do I do that?
Thanks,
Liam Geteu.
Error message
in Editor Help (PhpStorm, VS Code, etc)
Posted
That error (among others) are notorious amoungst pirated versions. Try a repair.