38,019 Topics

Member Avatar for
Member Avatar for dudegio

Hello everyone! I have problem with the configuration of MySQL. I am using IIS, Php 4.3.11(CGI) and SQL Yog. All are working. I also installed and used MySQL Servers and Clients 4.0.15 for my database. If i connect to the database, i encounter this error: Can't connect to MySQL server …

Member Avatar for Puckdropper
0
476
Member Avatar for sickly_man

Is it possible to retrieve one cell of data from a MySQL database? I need to put the ID from one row of a table into a php variable so that I can recall the correct row later on for editing purposes. If you know how to do this please …

Member Avatar for sickly_man
-1
2K
Member Avatar for Zombiehobo

I'm having this error on the area below. When I comment it out it stops giving me the error and I have tried commenting it out piece by piece to see if there is something wrong but I get nothing. I'm sure I am missing something really easy. [code=php] while …

Member Avatar for Puckdropper
0
214
Member Avatar for w_3rabi

hey guys my question is ....... can the session be used to send data from an asp page to a php and vice-versa ??????????? anyone have an idea about that. thnx anyway

Member Avatar for Dani
0
103
Member Avatar for gllanci

Hello Im makineg a small cms for my purposes and my problem is updating adding dhe DATE, im getting 00.00.0000 can anybody help me making a drop down date with dd/mm/YYYY so I can add - edit ?? Thnx a lot Enjoy Life

Member Avatar for iamthwee
0
105
Member Avatar for MKIII

I know what CMS stands for, but what does it really do? I mean, I don't quite get what is happening when I see someone's CMS. Can anyone break it down to me. Thanks.

Member Avatar for stupidenator
0
185
Member Avatar for dudegio

Hello guys! I am new to the languiage Php and MySQL. Pls help me in working with my search engine. What i want is there will be a drop down button that displays all the list of the selected field/s from the database. Whenever that record is selected it will …

Member Avatar for dudegio
0
104
Member Avatar for hamarsheh

hello everybody!!! i need to get the file id group , i used afunction filegroup ( filename ) but this function dosen't produce meaningful results on windows system, so you can use a function which resolves this posix_getid( ))but unfortunately this function isn't defined on windows platforms , so ineed …

Member Avatar for w_3rabi
0
131
Member Avatar for cressy

hi i have a flash naigation button that i want to embed into my theme that i am creating, how ever i am struggleing with the code for this, could someone please help me out, the nav button is a rollover sliding one thanks

0
70
Member Avatar for zodehala

what /where is error ? [code]include("config.php"); class database { global static $host = $c['server']['name'] ; global static $user = $c['server']['user']; global static $pass = $c['server']['password']; global static $port = $c['server']['port']; public static function connection() { self::$host ; self::$user ; self::$port ; self::$pass ; do { $link = mysql_pconnect(self::$host.":".self::$port, self::$user, self::$pass) …

Member Avatar for Puckdropper
0
73
Member Avatar for hkBattousai

I receive an error on system startup like the one in the attachment. But php_mysql.dll file actually is in C:\Prog\SERVER\PHP\ext folder in my computer. How can I change this incorrect setting?

Member Avatar for Puckdropper
0
67
Member Avatar for marufsiddiqui

I need to develop a wap site (namely a mobie content site), i want to do it with php & Wml, but the prob is i dont know anything how can i merege these 2 thing at a time can any1 gimme some help on this also plz gimme some …

Member Avatar for stymiee
0
69
Member Avatar for dumisibanda

Warning: mysql_fetch_assoc(): 3 is not a valid MySQL result resource in C:\Inetpub\wwwroot\BMF\Web\news.php on line 63 Records 1 to 2 of 2 [code=PHP]<table width="355" height="50" border="0" align="left"> <tr> <td><strong>Date</strong></td> <td><strong>Subject</strong></td> </tr> <?php do { ?> <tr> <td> <a href="details.php?recordID=<?php echo $row_news['id']; ?>"> <?php echo $row_news['date']; ?>&nbsp; </a> </td> <td> <?php echo …

Member Avatar for stymiee
0
97
Member Avatar for Dsiembab

Good morning, Is there a php function that will take the text out of a tag in a variable that has HTML in it? What I want to do is get the text from in-between the <h1> tags and use it as a title in my meta tags. Let's say …

Member Avatar for Dsiembab
0
173
Member Avatar for elderp

Here is my code: [code] if ($num = $i) { echo ("<p align='left'>It's everyone's unbirthday today!</p><br>") } else { while ($i < $num) { [B]$name=[/B]mysql_result[B]($result,$i,[/B][COLOR=green]"[/COLOR]username[COLOR=green]"[/COLOR][B]);[/B] [B]$day=[/B]mysql_result[B]($result,$i,[/B][COLOR=green]"[/COLOR]bday[COLOR=green]"[/COLOR][B]);[/B] [B]$city=[/B]mysql_result[B]($result,$i,[/B][COLOR=green]"[/COLOR]lpcity[COLOR=green]"[/COLOR][B]);[/B] [B]$email=[/B]mysql_result[B]($result,$i,[/B][COLOR=green]"[/COLOR]emailques[COLOR=green]"[/COLOR][B]);[/B] echo [COLOR=green]"[/COLOR]<br>[COLOR=green]Username: $name[/COLOR]<br>[COLOR=green]Birthday: $day[/COLOR]<br>[COLOR=green]City From: $city[/COLOR]<br>[COLOR=green]On Emailing?: $email[/COLOR]<br><br><hr><br>"; $i++; } echo("<p align='center'><font face='Arial' size='[COLOR=green]3[/COLOR]' color='#FF0000'>If your information is wrong please email lpbirthdays@johnpedroza.com …

Member Avatar for iamthwee
0
87
Member Avatar for cancer10

How do I restrict all php sites (which are located on my server) not to consume more than a specified amount of CPU? FYI, I run Linux CentOS 4.4 with Apache Thanx

Member Avatar for ithelp
0
50
Member Avatar for Sam152

Hi guys, I have a little code below that seems to keep returning the errors: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/site.com/pics.php on line 70 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/site.com/pics.php on line 84. When I remove …

Member Avatar for einfoway
0
87
Member Avatar for Ciscoguy

I am getting the following error coming up and cant figeur it out Parse error: syntax error, unexpected T_CASE in /mnt/w0505/d37/s36/b0252bde/www/HorizonMarketing/nfoscomm/catalog/admin/orders.php on line 99 here is my code hope someone can help me [code] <?php /* $Id: orders.php,v 1.112 2003/06/29 22:50:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com …

Member Avatar for einfoway
0
89
Member Avatar for smac

Hi, I'm writing a program that parses a *lot* of log files into a database. It's completely O-O, and each object opens a database connection to mysql using [B]mysqli->connect()[/B]. Here's my problem - the program works great for a limited number of log files, but if I run it over …

Member Avatar for Puckdropper
0
192
Member Avatar for hi-hacker

hi :icon_eek: Parents, youth and daughters This file config and r3aea directory sites I want to help break encryption zend :icon_sad: Please If disengagement encryption Please help my site config Encrypted zend ? Help me to lift the encryption zend config and r3aea ? Please :) If disengagement encryption zend …

Member Avatar for hi-hacker
0
264
Member Avatar for mithesh

hi i have inserted the date value into the database but its showing as 0000-00-00 why like this can anybody help me whats the correct format to insert date from a drop down list to the database ; heres my code to handle this : <?php include("dmy.php"); echo "<Html><Head></Head>"; $setdate …

Member Avatar for stymiee
0
342
Member Avatar for Dsiembab

Good Morning, I finally made a php calculator program which combines compound interest and added fees, The only problem is when I use the the round() function if the fee ends in a zero it does not show the zero. example </php echo round($var,2);?> if $var equals let's say 3.001 …

Member Avatar for Dsiembab
0
111
Member Avatar for bharat_bhusanam

I want to send a html mail with multi-language in php. Some part of mail content is from database. And some part user have to enter. My database is ok. And Unicode utf-8 is used. When I am retrieving data from database to my web page is ok. And coming …

Member Avatar for Puckdropper
0
73
Member Avatar for gallopers

hi there im very new at web site building and have built a few basic sites over the last year with the help of a couple of online html tutorials and dreamweaver. im at a stage where i feel i can build a site that seems to look and run …

Member Avatar for Puckdropper
0
105
Member Avatar for php_coder

Hey all I am kind of stuck with this WP issue...... The issue is this , client wants different layouts in the same theme. for eg: the home page will be 1 layout and other pages(posts) will be having different layouts.(having different CSS). How can i do this with a …

Member Avatar for zingomams
0
135
Member Avatar for mithesh

hi i just have a drop down menu which consists of date i need to submit the values and parse those values into date is it possible to do that my code is as <html> <head> <title>TESTING THE DATE</title> </head> <body> <form action="insert10.php" method="post"> <select name="day"> //<option value="null" selected="selected"> </option> …

Member Avatar for Fungus1487
0
83
Member Avatar for dudegio

Hello guys! I am editing a program regarding billing system done in Php and MySQL and generated using the Code Charge Studio. I have problem in validating a newly entered data. What i want is to check if the billing statement number is existing or not and will not saved …

Member Avatar for dudegio
0
95
Member Avatar for rinko

I am using Apache 2 with windows web server 2003 on the windows XP. I have problem using exec() command. My safe_mode is off. Does anyone know what can be the reason why exec() does not function? It is interesting that immediately when I restart the Apache server exec() command …

Member Avatar for pritaeas
0
97
Member Avatar for alex905

well here is the part of my script that is malfuctioning. [CODE]require "config2.php"; require "config.php"; $result = mysql_query( "SELECT `sum` FROM `subs`" ); $sq = mysql_fetch_assoc($result); $value = $sq['sum']; $val = preg_replace('/$/', '', $value); ?> <br> <?php echo $val; $query = mysql_query( "SELECT title, threadid FROM `thread` WHERE forumid = …

Member Avatar for coolkartik
0
123
Member Avatar for Barefootsanders

I need to return some HTML code stored as a text data type in my database. Is there a way to return this HTML effiencly through PHP that will execute this code when HTML parses the page? Currently I have this: [CODE]$result = @mysql_query("SELECT * FROM sponsors"); $num_rows = mysql_num_rows($result); …

Member Avatar for macneato
0
589

The End.