Search found 7 matches

by andz1982
Fri Mar 22, 2013 12:33 am
Forum: PHP coding => General
Topic: posting php error to new page
Replies: 4
Views: 1101

Re: posting php error to new page

<cue banging head against the wall>.....

Thanks for pointing it out....regarding the method you showed for the header it wouldn't work for me...though the original version worked with some minor modifications.


Thanks a lot !


Andrew
by andz1982
Thu Mar 21, 2013 1:39 am
Forum: PHP coding => General
Topic: posting php error to new page
Replies: 4
Views: 1101

posting php error to new page

Hi there, I have a slight problem: I want to verify a certain item against what is stored in the database and if the item does not exist, to post it on a separate page (the verification part works fine, just that when it opens the new page, it displays the following text: {$error} {$errorproductcode...
by andz1982
Tue Mar 05, 2013 3:48 am
Forum: mySQL & php coding
Topic: updating mysql tables with php
Replies: 2
Views: 764

Re: updating mysql tables with php

update.....fixed the problem....small syntax error
by andz1982
Tue Mar 05, 2013 3:37 am
Forum: mySQL & php coding
Topic: updating mysql tables with php
Replies: 2
Views: 764

updating mysql tables with php

HI There... Got a little problem with updating mysql tables... I have an item that is already in the database (ex. object1) with a product code listed: What i want to do is insert the quantity of items taken of that specific product (the values are being posted from a form; the form is posting just ...
by andz1982
Wed Oct 31, 2012 5:49 am
Forum: mySQL & php coding
Topic: php interface with gateway
Replies: 0
Views: 580

php interface with gateway

Hi there, I'm having a slight problem...when trying to pass certain details to the payment gateway, such as the user's name and surname it is returning resource id...(not echoing as it should)...I tried a different method, using the below code and for some reason it is posting blank: $query="SELECT ...
by andz1982
Tue Oct 30, 2012 4:14 am
Forum: PHP coding => Mail
Topic: email recipient derived from mysql query
Replies: 2
Views: 1322

Re: email recipient derived from mysql query

Thanks a lot egami....worked like a charm...also, if i want to add other data derived from mysql queries and embed them in the message, i can use the same method (ex. just label them query 2, query3 and so on...) ?


Thanks a lot,


Andrew
by andz1982
Mon Oct 29, 2012 8:05 am
Forum: PHP coding => Mail
Topic: email recipient derived from mysql query
Replies: 2
Views: 1322

email recipient derived from mysql query

Hi there, I need to send an email in php - though the recipient is derived from a mysql query. Which is the best way to go about it. Do i just do the following: $emailrec = "<?php $query="SELECT Email FROM members WHERE Username='".$_SESSION['Username']."'"; $Email=mysql_query($query) or die(mysql_e...