290671
Mithrandir
Re: In need of some PHP Script help!!!!!!!

instead of
<?php
$dbname 
"thisgene_sitearticles";            // Place the database name here
$tablename "encounters";                // Table name here

$dbconnect mysql_connect ("localhost""thisgene_porter",
"password") or die(mysql_error());

$db = @mysql_select_db($dbname$dbconnect);

$sql "INSERT INTO $tablename (script_title, script, content_title, content) VALUES
('
$_POST[script_title]', '$_POST[script]', '$_POST[content_title]',
'
$_POST[content]')";

$result = @mysql_querry($sql$dbconnect) or die(mysql_error());

?>

try this:
$sql "INSERT INTO ".$xoopsDB->prefix("encounters")." (script_title, script, content_title, content) VALUES
('
$_POST[script_title]', '$_POST[script]', '$_POST[content_title]',
'
$_POST[content]')";

$result $xoopsDB->query($sql) or die(mysql_error());

There is a database class and object ready to use - might as well use that

If it ain't working, try enabling first PHP debug and if no errors, then MySQL debug and see, where the problem is

GL



290672
bmirks
Re: Xoopsgallery only showing some albums after move to new server
  • 2003/10/12 21:20

  • bmirks

  • Just popping in

  • Posts: 4

  • Since: 2003/4/22


Did you figure this out?? I'm having the exact same problem (actually NONE of my galleries are showing photos).

Can anyone give some advice?



290673
Anonymous
Re: Avantars stored on DB
  • 2003/10/12 20:29

  • Anonymous

  • Posts: 0

  • Since:


Oh yeah, and how to do it with ranks images too?



290674
esawet
Help Please :0)
  • 2003/10/12 20:22

  • esawet

  • Just popping in

  • Posts: 5

  • Since: 2003/10/12


Well maybe I am an idiot, mabye I am just new to PhP but I have one question. I am using yahoo small business to host my site and durring the installation it is asking me for the: XOOPS Physical Path and well...I have NO clue what that would be. Can someone please help me with this.

Thanks,
Sam
webmaster@swg-rats.com



290675
kaper
Re: Item-Specific Page Titles in News, wfsection
  • 2003/10/12 20:07

  • kaper

  • Just popping in

  • Posts: 75

  • Since: 2003/4/26


It works (I applied it to News), but national characters are not displayed correctly. E.g. a quote (' " ') is displayed as '& quot ;'. Without the hack, national characters in site's and module's title are OK. I use ISO-8859-2. What's wrong?

Kaper



290676
tjnemez
Re: Can't find ADMIN BUTTON in admin panel !!
  • 2003/10/12 19:48

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you can goto:http://www.fctb.org/modules/system/admin.php and under groups check permissions. you should be logged in when you call up your admin.php, i think.



290677
sunsnapper
Re: 2.05 little request...

I didn't see the calendar clock at http://www.modscentral.com/ but, I think I saw it at the XOOPS Dutch Support Site (registration required for download)
http://www.jan304.org/



290678
Sintez
Can't find ADMIN BUTTON in admin panel !!
  • 2003/10/12 19:23

  • Sintez

  • Just popping in

  • Posts: 37

  • Since: 2002/9/20


I webmaster!
I'm loginin in my log and pass..
i have ADMIN MENU
when i go to admin menu - ther is not ADMIN BUTTON !!!
I habe not SITE preference

What happened??

xoops. 2.0.5

my php admin i have!
what can i do?



290679
Anonymous
Avantars stored on DB
  • 2003/10/12 18:42

  • Anonymous

  • Posts: 0

  • Since:


Can I have the avantars stored as BLOB on DB?
If so, how?



290680
Freaky
Re: Send message in forum......
  • 2003/10/12 18:23

  • Freaky

  • Just popping in

  • Posts: 37

  • Since: 2003/9/14


NOBODY ???







Login

Who's Online

123 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits