39,402 Topics

Member Avatar for
Member Avatar for jej1216

I have a rudimentary knowledge of PHP. I'm looking for a way to create a site that lists pdf fils that the user can click on and download. We use Joomla for our company intranet, but the component we are trying is not working and the forum for it has …

Member Avatar for jej1216
0
71
Member Avatar for whitesdestiny

Hi everybody. I m new Php programmer and have some problem please anybody there for help me? The problem is embarrassingly basic: while each individual article has only one title, author-string, issue no, start page, end page, etc, it may have 4-5 different keywords attached to it. Problem is that …

Member Avatar for iamthwee
0
58
Member Avatar for php_coder

Hi I am trying to search the entire table (all the columns) for a search term. But am getting mysql error $data = "[B]SELECT * FROM songmaster WHERE songTitle like '".$find."' and mp3File like '".$find."'[/B]"; //And we display the results while($result = mysql_fetch_array($data)) { echo "<font face='Verdana' size='4' color=red>".$result['songTitle']; echo …

Member Avatar for Puckdropper
0
63
Member Avatar for dudegio

Hello guys! I have problem with my Php program. The existing system is done in Php4.3.2. When i used the existing pages and install a freshcopy of Php 4.2.3, the login pages does not work. it reads from the database actually for the fact that if i enter a wrong …

Member Avatar for Puckdropper
0
166
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
492
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
220
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
106
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
108
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
190
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
108
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
133
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
72
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
75
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
70
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
71
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
102
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
175
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
89
Member Avatar for Slavis81

Hello, I am a newbie coder and I am trying to find a way to create a php mailing list. Ive tried looking around but have only succeeded in becoming more lost and confused. I would like the users to enter their email address into the text box and click …

Member Avatar for elderp
0
260
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
52
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
91
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
104
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
198
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
377
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
346
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
126
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
76
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
106
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
138
Member Avatar for netlatch

I am new to AJAX but I have managed to get most of what I need done with AJAX on my site; except one thing that is still eluding me. I am using ajax to post any new entries to the sites DB to the web page in random places …

0
73
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
85
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
100
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
102
Member Avatar for icreate

Please help. I don’t consider myself technically savvy, though I am doing my own web site and have managed it for several years. My husband helps with a lot of the questions that I have and can often figure things out when I cannot. With that said, this is what …

Member Avatar for ithelp
0
92
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
133
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
632
Member Avatar for pbrookee

Hello again... I've connected to th edb but i need to insert into the db in phpmyadmin.... I dont get any errors it says that it has inserted the data, but it hasn't...please help... my code... $link = mysql_connect('localhost', 'root', ""); if (!$link) { die('Could not connect: ' . mysql_error()); …

Member Avatar for ProgrammersTalk
0
131
Member Avatar for leopardsag

We all know [URL="http://www.wordpress.com"]http://www.wordpress.com[/URL] We create account there and it comes like: [URL="http://www.javedkhalil.wordpress.com"]http://www.javedkhalil.wordpress.com[/URL] or [URL="http://www.leopardsag.wordpress.com"]http://www.leopardsag.wordpress.com[/URL] Ok now is it possible in php that we give user permission to create a website or a single page on our domain and its url will be like that. User name is added before …

0
73
Member Avatar for 123cc

Hi, I am using a PHP form and I would like to have the ability to convert any emails and URLs that are in the post to automatically have a hyperlink. I don't want to enable any other html tag other than the hyperlink in my posts and I am …

Member Avatar for Dani
0
79
Member Avatar for pbrookee

Hello all...I am having a little trouble with using an ifelse statement to print information from one page to another. I have a form that has several questions and the user has to select one out of the few radio buttons...etc...when done they hit submit which is 'confirmed' on the …

Member Avatar for pbrookee
0
98
Member Avatar for vssp

hi friends How to display the google map using php? and how to calculate the latitude and longitude using php .Please send me any sample code . Please advise Thanks

Member Avatar for vssp
0
73
Member Avatar for invisal

It is my first time in here and also my first question. I hate to admit it that I got stuck now. I got the Apache set up on my new computer and also the PHP5. After that, I modified the Apache2 httpd.conf file. [i]I added this into my configure …

Member Avatar for Rhyan
0
431
Member Avatar for dmcutaia

Hi - I am just learning PHP. I installed Apache, PHP and MySql on my computer (XP pro) and it is working. I use dreamweaver and when I preview it - my php code works. However, when my code does not work, instead of getting a syntax error, I just …

Member Avatar for Rhyan
0
152
Member Avatar for lzmiy

Hi all i new to MySQL and currenlty now is trying to do a database and upload it up to PHPMyadmin so that the page im am creating can use it but im facing a big problem here Error SQL query: # # Database structure for database 'database name' # …

Member Avatar for leelee
0
73
Member Avatar for mithesh

hi can anybody help me i need to get the data from db through php script my code is : <?php $con=mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("poll",$con); echo "DB SELECTED<br>"; $result=mysql_query("select question from pollquestions",$con); echo "QUERY EXECUTED<br>"; echo $result ; echo "<br>DATA DISPLAYED<br>"; mysql_close($con); …

Member Avatar for Rhyan
0
84
Member Avatar for shortybookit

I currently run your typical city guide web page and for this entire post i am going to use my artsandculture page with in this page i have sub pages of museums,wine,galleries when a user clicks on museums there is a list of all the museums in html format and …

Member Avatar for Rhyan
0
137
Member Avatar for krisfr

I am looking for a set of buttons (CODE) for making a NAV set for php and mysql, I need next prev top bottom along with edit add delete reset, any one know of a good starting place to look at least? I would like for it to be working …

Member Avatar for jbennet
0
187
Member Avatar for hbmarar

Hi, Wishes. I need a page with two frames or something. say questions list is in one and in another is for listing questions added by the user for a paper exam. Each frame should have checkbox which is selected across each options and when the move button is clicked …

Member Avatar for ghostsquad
0
64
Member Avatar for pbrookee

Hello all...I am in a rut, confused. I have created an html/php web form it works fine, the user enters the info and submits it to a confirmation page and then when the user clicks ok I need for the information to be sent to 2 email address' one it …

Member Avatar for pbrookee
0
155

The End.