Member Avatar

[b]Warning[/b]: mysql_error(): supplied argument is not a valid MySQL-Link resource in [b]/home/rexb2/public_html/parkweb/db/mysql4.php[/b] on line [b]586[/b] [b]Warning[/b]: mysql_errno(): supplied argument is not a valid MySQL-Link resource in [b]/home/rexb2/public_html/parkweb/db/mysql4.php[/b] on line [b]587[/b] phpBB : [b]Critical Error[/b] Could not connect to the database Thanks

Member Avatar
+0 forum 1
Member Avatar

Ok here's the deal... I have a PHP program running at dci.jamesmeister.com that takes data from a .txt document and converts it into a chart. (It is not a commercial script, it was written by a buddy of mine whom I can no longer get in touch with) I currently have the ability to add more years onto this chart and in essence make the chart start all over with the 2004 data, come May. BUT my big problem is, I don't know PHP and I need to complete this added feature... I can add create a new year database, …

Member Avatar
+0 forum 1
Member Avatar

I have been making a MySQL run script for my site so all the content is stored in MySQL and I also want to be able to allow users to Register and stuff like that. I want to do it in a simaler way to for forum so that I can have an online list. My site does have a forum but I can't use it to allow people to register on the forums and the site in one go because I share the forum with a few other sites. However I know that the way forums do their sessions …

Member Avatar
+0 forum 5
Member Avatar

I'm using following code for searching and replacing : [b]preg_match_all("/\{$WSCPAGELINK([^\}]*)\NAV}/U", $pageHtmlBody, $Matches); [/b] and this works fine with php version older than 4.3.3. But in new PHP version i'm getting this error: Warning: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 21 If i add 2 extra slashes just before NAV: preg_match_all("/\{$WSCPAGELINK([^\}]*)[b]\\[/b]\NAV}/U", $pageHtmlBody, $Matches); this does not give any error messages, but now i'm not getting any result. Basically, i want all the contents appearing in between [b]{$WSCPAGELINK [/b]and [b]NAV}[/b]. Pls help

Member Avatar
+0 forum 1
Member Avatar

Hi all, i need help for a little php script, here is what i need: I have a table named "clans" with 4 field in it (name, url, logo, description) I have a php page with "A-B-C-D-E-F-G-H-I-........." I need to create the links on the letters that will only show all clans that begins with the clicked letter I just dont have a damn idea on how to do this, i am sure that the php gurus out there can help me with something simple, i only code for fun and im still newb. Thanks in advance fred

Member Avatar
+0 forum 6
Member Avatar

Hello, I am an administrator for a phpbb2 forum and I'd like announcements not to be replied. What must i do inorder for this to work. Thanks for replies!

Member Avatar
+0 forum 1
Member Avatar

Hai all am using new version on PHP,Apache now i want to work with XSLT so i removed ; for php_sxlt.dll in php.ini file i use a code <?php $xh = xslt_create(); $result= xslt_process($xh, "solarsystem.xml", "solarsystem.xsl"); if ($result) { print $result; } else { print "Sorry, $_GET[filename]could not be transformed by short.xsl into"; print " $_GET[filename] the reason is that " . xslt_error($xh) . " and the "; print "error code is " . xslt_errno($xh); } xslt_free($xh); ?> when i run the program its telling that dll is not found but in specified folder C:\php\extensions dll is available what will …

Member Avatar
+0 forum 1
Member Avatar

[b]PHP Cookbook[/b] David Sklar, Adam Trachtenberg PHP Cookbook is the ideal book for when you're stumped on a "how-to" situation in PHP. This book is also a valuble resource for the generally curious programmer, interested in expanding their knowledge on PHP. This book is basically a list of scenarios coupled with code, and explanations about the functions included. It is also a great resource over PHP.net, and I just like having a physical reference =oP. I reccomend this to any PHP programmer who hasn't mastered the language, so that they may learn functionality and better structuring. Great deal at $27.87 …

Member Avatar
+0 forum 1
Member Avatar

I know how to catch an action from someone entering page.php and then set a default to page=1 and have the action for page=1 to load page=2, but how should I make page.php to catch 1,2,3,4,5,infinity so it keeps loading until the user closes the browser? reloading can be done using header("Location: page.php?page=n"); (where n = number) catching empty action can be done like this if (!isset($action) or $action=="") { $action="page1"; } catching page =1 can be done like this if ($action=="page1") { header("Location: page.php?page=2"); } etc.

Member Avatar
+0 forum 4
Member Avatar

Try/Catch blocks, Private, Public, Protected variables/functions, and more. Import functions through namespaces....finally! This language is reminding me more of C++. Read more about it here: [url]http://www.phpvolcano.com/articles/php5/index.php[/url]

Member Avatar
+0 forum 25
Member Avatar

Can someone help? I'm lost on sessions here. I can't seem to get sessions to work at all. Are there any good tutorials that anyone knows of that might help me get started correctly? (Cause I think I'm getting them mixed up.)

Member Avatar
+0 forum 3
Member Avatar

Hello! To those who may be interested, my name is Matt. =o] Now, lets cut down to brass tacks. Yes, I agree nickle tacks are much more colorful in the world of style, however I perfer brass. A while ago, (long while =oX) I began working on a browser-based PHP game named Dragon Quest Online in PERL. Before the game was even close to completion, I learned PHP and decided to switch everything from my hardfile database to a MySQL database. This was around 12+ months ago. Since then I have worked on the game much more than I expected, …

Member Avatar
+2 forum 5

The End.