39,402 Topics

Member Avatar for
Member Avatar for drewpark88

Hey Guys, I am trying to improve my PHP/MySQL skills and need to find a good dvd or cd-rom. I feel that I learn best from video tutorials, I watch the youtube videos but want to buy a couple good dvds with real world techniques. Let me know if you …

Member Avatar for drewpark88
0
219
Member Avatar for vedro-compota

I wish you all the correct code)) Hi) There was a problem reading the file. Actually, I want to read from file command for MySQL (originally, this team is destined for Orcle, but I think it will be right for MySQL). I think the problem in the encoding (I do …

Member Avatar for vedro-compota
0
400
Member Avatar for mbarandao

hello: I'm working on this code that receives a variable via url and performs a mysql search for records using the value of the variable as the key word. I'm using the following code --which I'm currently using successfully on another section of my project, but experiencing problems in a …

Member Avatar for mbarandao
0
331
Member Avatar for programmer12

Hi, Im trying to have a section that shows the Total and Quantity at the top after customers are logged in and if they dont have anything in their baskets/cart then show Total = 0.00 and Quantity = 0. The Codes work fine when the customer already has something in …

Member Avatar for programmer12
0
184
Member Avatar for lifeworks

Hi Ive written my own MVC framework, which uses the mod_rewrite apache tool... first part of the url is the controller and second part is the 'action'... some of my controllers have functionality which is publicly available, and other functionality which i want to restrict to logged in users... i …

Member Avatar for quasipickle
0
441
Member Avatar for bops

Hey guys. Well I'm getting that irritating warning on my site when loading up a specific page. [CODE]Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/d6ayr7/public_html/webdevelopment.php:1) in /home/d6ayr7/public_html/masterpage.php on line 2[/CODE] I've encountered and solved this problem before by moving session_start() to the …

Member Avatar for dennishall
0
304
Member Avatar for Hridayesh

Allowed memory size of 8388608 bytes exhausted (tried to allocate 45 bytes) I have changed memory_limit, upto memory_limit = 128M in php.ini file, but still the error comes. Can anyone help me.

Member Avatar for vibhaJ
0
62
Member Avatar for jpknoob

Hi all, i decided to try and make a php shopping cart with sessions and manged to do so with the help of online turorials and references. However, i decided to try and pass over multiple items form a table, but i must have gone wrong somewhere, as some of …

Member Avatar for jpknoob
0
78
Member Avatar for it_1

Hi friends, any body just give how to call store procedure from php with mysql function not using mysqli function...

Member Avatar for dev.vini
0
295
Member Avatar for pallen

I know this is the PHP forum, but I couldn't find a better place for this question (I don't CMS as an option). So, I'm using Drupal to build out my site and run have into an issue with the "chat room" module. The problem involves inviting another user to …

Member Avatar for Kraai
0
239
Member Avatar for abz121

I ram coding a website that links to thousands of mp3's on the web, but i need to retrieve the duration of these files without first uploading them onto my server. I already tried using getid3 script but that requires you to have the mp3 file on your server. Any …

Member Avatar for diafol
0
72
Member Avatar for mushget

Website A has a link pointing to Website C Website B has the same link pointing to Website C I want to redirect those visitors coming to Website C (my website) who come VIA Website A on to Website D BUT NOT visitors who come VIA Website B (or any …

Member Avatar for somedude3488
0
70
Member Avatar for phpbeginner

hi all, is there a method to change the url variable? eg: from [url]www.someaddress.com?value=value1[/url] to [url]www.someaddress.com?value=value2?[/url]

Member Avatar for phpbeginner
0
584
Member Avatar for furianera

Hi everyone, i'm following this guide [url]http://code.google.com/intl/it-IT/apis/maps/articles/phpsqlajax.html[/url] to parsing MySql data to google maps. Every step until creating XML file are good, the problem i found was when i use this code (edited with my variable) [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" …

Member Avatar for hielo
0
164
Member Avatar for srdva59

hi, i use ireport to creat my report, i use the PHPJasperXML to load into a pdf. i need to know is any one know a alternative because this class don´t work with many functions that we have in the ireport. thanks a lot for your help :)

Member Avatar for sudeepjd
0
51
Member Avatar for Syntax12

I'm trying to sort by the date for some mysql results... and in the table, the date field is "date" format, so the rows have like, 2009-3-5... however when I sort by the date... it doesn't work right. I'm guessing PHP is treating it as a math problem in my …

Member Avatar for EvolutionFallen
0
154
Member Avatar for jasha

Hello there, first of all hi everyone, this is my first post here. i'm pretty new to PHP but i do know enough about programming to understand advices at any level. Here is my question: I've done a login algorythm which is working fine, everything is managed by an idex.php …

Member Avatar for CEVGames
0
259
Member Avatar for LELE7

I have an upload form where the uploaded picture is displayed. This works perfectly in Firefox. Problem is that in Internet Explorer, the image only displays when the page is refreshed. I do not want my users to have to do this, any tips? I tried just about every solution …

Member Avatar for LELE7
0
126
Member Avatar for LONGWAY

Hi, i have four tables: books info autor publisher ---------- ------------- --------------- -------------- id id id id bookname type name publisher name autor_id year second name quantity publisher_id autor year country I tried with this relations but it did not work (is this normalization ok) relations: `autor.id = books.autor_id` AND …

Member Avatar for LONGWAY
0
120
Member Avatar for bjeffries

I was wondering if anyone over here could help me figure out why this thumbnail generator is not working. I am using the [url]http://code.google.com/p/smart-lencioni-image-resizer/[/url] I have a discussion on his google group going but he I am not really getting anywhere over there on getting this issue figured out. I …

Member Avatar for bjeffries
0
333
Member Avatar for facarroll

Hi. I purchased some software recently but have been unable get any helpful product support with the following problem, because it's a coding matter, I guess. The purchased software is for a PayPal subscription management system, and it relies on user verification by way of a username (email address) and …

Member Avatar for facarroll
0
410
Member Avatar for xabi

I run a competition and want a form put online so anyone wishing to enter can do so without the hassle of snail mail. I have seen various scripts around which could do the job of taking the details, but I want the details that are emailed to me put …

Member Avatar for diafol
0
76
Member Avatar for showman13

Hi All, Another roadblock on my way to fame and fortune... LOL I am attempting to convert a csv file to a mysql table, and am using a converter that takes the csv and converts each line into an insert statement. that part works fine. But the issue I run …

Member Avatar for hielo
0
134
Member Avatar for k9shark

hi, I am aware there are far easier and simpler ways to solve this problem, but due to certain circumstances, I am unable for instance to change filetypes etc.. so, here we go: using wordpress with the thesis theme, I need to append an html file(shop.html) onto a page(gardens). my …

Member Avatar for k9shark
0
137
Member Avatar for khushhappy

hi, ive made 2 pages, which have the form.html page and check.php page. data from form page into check page into database but having problem. [COLOR="red"][B]FORM.HTML[/B][/COLOR] [CODE]<body> <form id="form1" name="form1" method="post" action="check.php"> <input type="checkbox" name="subject[]" value="WD">Web Design <br /> <input type="checkbox" name="subject[]" value="PH">PHP <br /> <input type="submit" name="submit" value="submit"> </form> …

Member Avatar for khushhappy
0
82
Member Avatar for tomccabe

I have an XML file like such: [CODE]<spice> <sections> <contact></contact> <products></products> <people></people> <homes></homes> <harvest></harvest> <contactCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </contactCopy> <homesCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </homesCopy> <productsCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and …

Member Avatar for hielo
0
318
Member Avatar for youlichika

Hi I test my web on my localhost(winxp+ie8+mysql5.0.51a+PHP 5.2.11+Apache 2.2.13). I want to add some cron job for my php files. I select Pycron. After configuration, I add some command in crontab.txt [CODE]* * * * * "C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://localhost/test/index1.php.[/CODE] It is success, it will open IEXPLORE.EXE and load …

Member Avatar for youlichika
0
351
Member Avatar for omaiaa0p

Hello Everyone, I am totally new to php, I would like to know if I can be able to use it. within my website,I am using javascript and a database. what is the relation between php and ajax. Can I use php if I am using javascript? How can I …

Member Avatar for omaiaa0p
0
127
Member Avatar for the_mia_team

ok so far from working wit php I come to realize that its bascially html and javascript coding together, i was never taught any of this so basically just been trying to teach myself my question is this, I have uploaded a screenshot of something I am working on theres …

Member Avatar for diafol
0
169
Member Avatar for alanlee9898

Hi, I need help to insert multiple checkbox data into MySQL using PHP. I'm new here, any code I can refer? I have a database name called subject_name and there is only 2 column in the table which is id and subject. I would like to insert multiple checkbox data …

Member Avatar for angelos33
0
9K
Member Avatar for CEVGames

Hi all, I am completely new to PHP and MySQL, but I need to learn it for a project my friends and I are working on. So, I found a tutorial on how to create a user registration and log in system using PHP and MySql. I am having an …

Member Avatar for CEVGames
0
201
Member Avatar for gunnarflax

If i assign a value to a variable like this in PHP: [CODE] $var1 = 123; [/CODE] and then assign another value to another variable like this: [CODE] $var2 = $var1; [/CODE] Are those two variables pointing to the same value in the memory (like in Java if I'm not …

Member Avatar for gunnarflax
0
101
Member Avatar for coxdabd

Hi there, just a quick one (I think), a little stock on displaying PHP results in a div rather than a table. I seem to be managing to display one of the results ok but the rest are not showing, I want them all to display in their own divs. …

Member Avatar for teedoff
0
96
Member Avatar for cdes1145

Basically i'm new to web design and I have the basics of html only. I am looking to add a feed(I think) onto my website that allows a user to input text and it is then displayed in a list above the person befores text. Am I aiming to high …

Member Avatar for Borzoi
0
182
Member Avatar for ankit.pandey3

[CODE]<?php echo $error_msg=''; if(isset($_POST['submit'])) { $LoginId=$_POST['LoginId']; $Password1=$_POST['Password1']; $Password2=$_POST['Password2']; $Name=$_POST['Name']; $Age=$_POST['Age']; $BloodGroup=$_POST['BloodGroup']; $Sex=$_POST['Sex']; $Qualification=$_POST['Qualification']; $Email=$_POST['Email']; $Address=$_POST['Address']; $AboutYourself=$_POST['AboutYourself']; $countCheck=count($_POST['checkbox']); echo $countCheck; //$checkbox=$_POST['checkbox']; //$countCheck=count($checkbox); if(empty($LoginId)){echo 'Please enter Login Id';} elseif(empty($Password1)){echo 'Please enter Password';} elseif(empty($Password2)){echo 'Please confirm Password';} elseif($Password1!==$Password2){echo 'Password didn't match';} elseif(empty($Name)){echo 'Please enter Name';} elseif(empty($Age)){echo 'Please enter Age';} elseif(empty($Sex)){echo 'Please enter Sex';} …

0
56
Member Avatar for prathameshz

hi.... whenever i use the header in php this error is occure. whats the solution of this error Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\simple.php:11)

Member Avatar for prathameshz
0
187
Member Avatar for zyzagy

Hi, I am kind of new to PHP, learning through books and online resources but I am having difficulties with what seems like an easy problem. [CODE]if($pageid == 1){ echo ""; } else { [COLOR="Green"]echo '<form action="delete_ad.php" method="post">'; echo '<input name="deleteid" type="text" value="" id="deleteid" hspace="10"/>'; echo '<input name="delete" type="submit" value="Delete …

Member Avatar for Borzoi
0
168
Member Avatar for Moppy

Morning. I'm new to all this forum malarque, but lets give it a stab! I need to prove some PHP code works and does what it should for college, but the server doesn't run PHP apparently. I thought I could somehow get the website to relay what the user has …

Member Avatar for pritaeas
0
129
Member Avatar for veledrom

Hi, I want to re-use already estanbished DB connection but I don't know know how to do it. Please help me to modify my code below. Thanks in advance [CODE]function connectDB(){ $host = "localhost"; $uid = "root"; $psw = ""; $db = "mydb"; $hostc = @mysql_connect($host, $uid, $psw); if($hostc){ $dbc …

Member Avatar for veledrom
0
93
Member Avatar for nsam

Hi, I am stuck in a simple problem due to checkbox The problem is that in the value attribute of checkbox I am placing a value which I want to retrieve [CODE]echo "<td><input type='checkbox' value='".$row['docid']."' name='asgn[]'>Assign</td>";[/CODE] after this I am using foreach() In the output page i get a warning …

Member Avatar for mahavir123
0
104
Member Avatar for eat@moes

Hi, I am pretty new to HTML and brand new to PHP. I am trying to put together a simple internal website on a Linux box to keep track of some inventory. I would like to be able to click a link in the sidebar and have it display that …

Member Avatar for eat@moes
0
120
Member Avatar for choosenalpha

Hello All, I have went through my code and checked for any whitespace or blank spaces and also missing closing marks and etc. But the error message clearly states that it is initiated at line 8 of my php code. Is it my echo in the code? Can someone please …

Member Avatar for choosenalpha
0
252
Member Avatar for micahgeorge

I wanted to send an automated email 24hrs before an ppointment is made, and here is the code i wrote but it is first checking the date so not working correctly, please help $i=0; while($i<=$num) { $row=mysql_fetch_assoc($select); $ID=$row['ID']; $d=$row['date']; $date=date("Y-m-d"); $rem=$row['reminder']; $email=$row['email']; if(($rem=='no')&&($d==$date)) { if($row['time']<='24:00:00') { $headers = "From: [email]johndoe@yahoo.com[/email]"; …

Member Avatar for diafol
0
58
Member Avatar for ddggttff3

Hello. I am kind of new to PHP and mysql, and I am wondering on how I would go about coding up a system that would allow me to save multiple values to one row in a mysql database, and later read each separately. I am coding up a mac …

Member Avatar for ddggttff3
0
157
Member Avatar for atticusr5

Hello all, I have a question that is more based off of a unique occurrence (unique for me having no real prior php knowledge). I am trying to create a webpage where a user inputs a password, and a php reads the user inputed key and then compares it to …

Member Avatar for atticusr5
0
135
Member Avatar for teedoff

Ok I have created a simple form in order to build new product pages using php. I wanted to be able to have a simple form that a data entry person here could input text and such areas as page titles, meta content, brand names, and other text on the …

Member Avatar for teedoff
0
1K
Member Avatar for gunnarflax

I'm trying to create an object derived from the MySQLi object to easier handle database connections for my application. The thing is that I do not know how I shall be able to initalize the connection and keep it contained in the object. Let me illustrate what I mean: [CODE] …

Member Avatar for gunnarflax
0
133
Member Avatar for khushbooatkol

[CODE]echo"<td bgcolor='#FFFFFF'><a href=\"update.php?emailid=".$rows['emailid']."\"><img src='library/edit1.gif' border='0'></td></tr>";[/CODE] I want to change the image 'edit1.gif' to 'edit1-o.gif' onmouseover and back to edit1.gif onmouseout event.how to do this while staying in these php quotes? TIA

Member Avatar for ko ko
0
92
Member Avatar for tomeemot

I found a php mail form online that echos a text success message, but need to redirect it to a new page instead. I love all the functions in the code except for the text echo. I tried <input type="hidden" name="next-url" value="test.com"> and <? header(Location: file.php); ?> but the form …

Member Avatar for emodweb
0
518
Member Avatar for Cool&Awesome

Hi friends, I got a pretty big problem. I got a big directory full of images, like 2000 of them (and rapidly rising). For now, the front-end works perfectly with it, but to avoid getting to the point of 200.000 and total breakdown of it all, i decided to put …

Member Avatar for pritaeas
0
68

The End.