39,393 Topics

Member Avatar for
Member Avatar for xylude

I wrote a script in PHP that works fine on its own, but when inserted into a document containing CSS does not work properly. I am a newb with the PHP programming, and what I am trying to do is create a simple register/login script. Once the user has successfully …

Member Avatar for xylude
0
340
Member Avatar for JeetRaj

i am not able to open the imap function and i can't retrive the email from the mailbox... and i am using this code [code=php]<?php $name = 'jeetrajsah@gmail.com'; $pwd = '9871670594'; $mailbox = '{mail.google.com}INBOX'; $mbox=@imap_open ($mailbox, $name, $pwd); print_r(imap_errors()) ?>[/code] ad error occured is : [code]Warning: imap_open() [function.imap-open]: Couldn't open …

Member Avatar for phper
0
146
Member Avatar for OmniX

A quick quesiton (cant seem to get what I want on google - prolly not looking in the right places). I remember using a function that allowed you to reuse a query if it has already been used. I thought it was mysql_free_result($query) and it would let you use the …

Member Avatar for Will Gresham
0
104
Member Avatar for tver3305

Hi guys, i have this problem which has been bugging me for some time. I am creating a website using php,MySQL, javascript and ofcourse html. I create/generate all my pages dynamically using php and depending on the data fetched from the dbase. I have some big scrollable data which should …

0
62
Member Avatar for chrbar

Hello, I'm looking for a Form Processor in PHP with advanced features (ex: ability to save form data inside a CSV file, autoresponder, ability to use reCAPTCHA services...). Do you know a good one? (preferably an Open Source project, GPL/Freeware) Thanks, Chris

Member Avatar for vssp
0
74
Member Avatar for mrcniceguy

in my website,after someone login,his profile appears. The prolem comes when you shift to another web page and if you want to return to you profile this message appeares (Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no …

Member Avatar for mrcniceguy
0
96
Member Avatar for flforlife

Ok what I want to do is update rows in MySQL using the same form that I posted. I'm a php mysql noob but I can't read code and figure out what it does. This is my input form...... [code] <form method='post' enctype='multipart/form-data' action="majoradd.php"> <table> <tr> <td>Do not enter in …

Member Avatar for sDJh
0
94
Member Avatar for mjmazza

I access a database (zipped, txt) file via ftp, download it to my laptop, unzip it on my laptop (into a txt file), then upload it to a database on my webhost. I would like to automate the process. My website is hosted by BlueHost. Any help would be appreciated.

Member Avatar for sDJh
0
155
Member Avatar for mizteryq

hi ALL... i'm a new in IT woRLD.. right now i work with PHP, Apache, And MySQL i want to create aplication that already work(use Apache,PHP, MysQL but it stand ALone )being apLication that executable what i want is in the future all that i need is just install the …

Member Avatar for ultra vires
0
130
Member Avatar for camdes

A primary school website I am working on is completely database driven and as part of the site the school wishes a series of photo galleries. For various reasons I cannot use any of the ready made photo galleries. I have managed to write the code for uploading the pictures …

Member Avatar for deepmann97
0
81
Member Avatar for veledrom

Hi, How do we connect to the Oracle with PHP? I can't find codes. for example: database connection name : Hello user name: system password : 123123 hostname : localhost port : 1521 thanks

Member Avatar for amigura
0
59
Member Avatar for elininator

Hi, I am having problems with my forms emailing the inputted content into my emails. It sends all of the rest of my html such as line breaks and everything that is actually in my php code. But it doesn't pull anything from the form. I have double and triple …

Member Avatar for elininator
0
97
Member Avatar for maydhyam

Hi Guys and Gals.... Could anyone help me with respect to why when this email is sent, the hyperlink in the message doesn't work? [CODE] //send email $to = $myrow['FirstName'].".".$myrow['LastName']."@petrotrin.com"; $subject = "TAIS Application - New Randomly Generated Password"; $from = "TAIS Application"; $msg = "Dear User ".$myrow['FirstName']." ".$myrow['LastName']." (".$empNo."),\n\nYou …

Member Avatar for maydhyam
0
155
Member Avatar for CzechRock3

I am trying to replace mysql fields with this code... But unfortunatly it is not working... I do not know why... Here is the code please help me. Thank you. [CODE] <?php session_start(); if ($_POST['txtName'] != ''){ $host="****"; $username="****"; $password="****"; $db_name="****"; $tbl_name="****"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select …

Member Avatar for amigura
0
110
Member Avatar for queenc

hi, when the user selects more than one from a list box,i want to store all the values in the db table. i want the user to select only five,if more than five are selected it should display message thanks

Member Avatar for amigura
0
2K
Member Avatar for abhay_pundir

hi friends, i got a problem for displaying image from the following source code [code=PHP]<?php include "connection.php"; $id=$_GET['d'];// value of 'd' is getting from the another page //$image_folder='http://192.168.0.39/OldLiveHelp/images/'; //absolute path to image folder $msql="SELECT * from client_logo where client_id='$id'"; $mresult= mysql_query($msql) or die(mysql_error()); $row=mysql_num_rows($mresult); if($row > 0) { while ($row1 …

0
140
Member Avatar for jviney

New to PHP and MySQL, any help would be appreciated. Using PHP, I'm pulling fields from my MySQL database into a table and I would like to link one of the fields (club_id) to another web page. How would I do that?

Member Avatar for jviney
0
136
Member Avatar for Realgy

Hi all, I am looking for a software to index my images. Essentially just having keywords are not enough, I would like there to be customizable fields which I can add text and it is stored into database and can be searched. Fields I would like are: Number of people …

Member Avatar for Realgy
0
81
Member Avatar for CasTex

[code=PHP]$dosya = "index.php"; $fh = fopen($dosya, 'r'); $gercegi = "<[B]? [/B][B]include("sfpg.php"); sfpg(); echo $data;[/B] [B]?>[/B]"; if ($dosya != $gercegi) { echo "olmaz"; }[/code] I want to do this but I cant. I do not want to run the bold text. I only want to use it in text. How can …

Member Avatar for ShawnCplus
0
42
Member Avatar for CasTex

Hi everyone. I know how to make image in php, but I want to make url like this [url]http://my2.statcounter.com/project/standard/graph_summary_barchart.php?rand=193244925&PHPSESSID=[/url][B]1eb9e464667493b2a1a7038ce4b9f69c[/B] Especially, the randed code. For example, I have this script uret.php [code=PHP]<form action="uret.php" method="post"> <input type="text" name="siteadi" value="http://" size="35" \> <input type="submit" name="submit" value="Kodu Al"> </form> <? $web = $_REQUEST['siteadi']; [B]$weble …

Member Avatar for CasTex
0
111
Member Avatar for didi00

Hello, I'm new in coding in php I want to transfer a webpage (news5.html) to another webpage (in a table). (Like it is done on the news websites "www.domain.com/index?ID=4343" How can I do it? I read about passing variables through url, but if it is how it should be done …

Member Avatar for fanaticweb
0
125
Member Avatar for RockyY

Hello everyone! Ok i have a question, I have a php calandar and when you click on a date a pop up comes up and you are able to add entrys to the main calandar. That works just fine, but i need help figureing out how to refresh the main …

Member Avatar for RockyY
0
88
Member Avatar for zainul.dss

how do i define dynamic array in php like in c or cpp if any body find this pls reply me soon regards zainul

Member Avatar for ShawnCplus
0
325
Member Avatar for desiguru

I have a database called "App" and a table called appinfo. I am able to connect to the database. It has only two entries since I am just trying to learn how to use php and sql together. The first column in the appinfo table is called [B]ID[/B] followed by …

Member Avatar for desiguru
0
1K
Member Avatar for Doctoremote

This maybe an old chessnut to you old sweats but I am a newbie to this.. I getting this error:- [B]mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\dsg\Mytest.php on line 9[/B] the database is called Camsdb the table is called DBF the fields of which there …

Member Avatar for Doctoremote
0
142
Member Avatar for gpdrums

I'm looking for a php/mysql customer service module that will do two things: [LIST=1] [*]manage user login/session without self registration [*]allow customer to download document packages in pdf [/LIST] Our customers are overseas. We want to provide documents to them online to save document shipping costs. Ideally, I will provide …

Member Avatar for gpdrums
0
189
Member Avatar for kumar_niten
Member Avatar for ultra vires
0
72
Member Avatar for aran87

hello, im using a delete function but some how i want to use an if statement; for example if the current server date matches the date from a row from a database table and if the date is 2days from the current date it can't be delete. [CODE] Delete from …

Member Avatar for amigura
0
137
Member Avatar for rickya100

Hi, I am hoping someone can explain to me a better way of coding than I currently do right now. It concerns accessing the results of a SQL query stored in an array. OK so right now I do somthing similar to this: [code=php] $rows = @mysql_query("select count(*) from debate_queue") …

Member Avatar for rickya100
0
112
Member Avatar for dottomm

Hi. I'm trying to search multiple DB fields with a Select Menu and I don't know where to start. for example, from the code below I would like the value ='strAuthorname' to actually search the fields 'AuthorFirstName' AND 'AuthorLastName'. [code] <form method='post' action='{$_SERVER["PHP_SELF"]}'> <!--select tag --> <select name='metode' size='1' > …

Member Avatar for dottomm
0
76

The End.