Daniel Brown wrote:
On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote:
hi
I have function
function get_content($client_id, $form_id, $index1)
{
$query = mysql_query(
SELECT content
FROM infos
WHERE
hi
I have function
function get_content($client_id, $form_id, $index1)
{
$query = mysql_query(
SELECT content
FROM infos
WHERE client_id=.$client_id. AND form_id=.$form_id.
AND
index1='.$index1.');
if
On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote:
hi
I have function
function get_content($client_id, $form_id, $index1)
{
$query = mysql_query(
SELECT content
FROM infos
WHERE
Samuel Vogel wrote:
Explanation of your code:
$CONTENT = get_content(12, 104, 'merchant');
echo $CONTENT;
This does not work, because you don't use a return in your function.
This means that the function does not return a value. Now in the
function you assign a value to $CONTENT. That
On 04 January 2008 17:06, afan pasalic wrote:
hi
I have function
function get_content($client_id, $form_id, $index1) {
$query = mysql_query(
SELECT content
FROM infos
WHERE client_id=.$client_id. AND
Daniel Brown wrote:
On Jan 4, 2008 12:28 PM, afan pasalic [EMAIL PROTECTED] wrote:
Daniel Brown wrote:
On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote:
hi
I have function
function get_content($client_id, $form_id, $index1)
{
$query = mysql_query(
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote:
I think you didn't understand my question: I know why the function work
in 2nd example. My question was why I'm not getting the result in 1st
example? What am I doing wrong. And, as far as I know, I think it
doesn't have anything
afan pasalic wrote:
hi
I have function
function get_content($client_id, $form_id, $index1)
{
$query = mysql_query(
SELECT content
FROM infos
WHERE client_id=.$client_id. AND form_id=.$form_id.
AND
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote:
I think you didn't understand my question: I know why the function work
in 2nd example. My question was why I'm not getting the result in 1st
example? What am I doing wrong. And, as far as I know, I think it
doesn't have anything
Daniel Brown wrote:
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote:
I think you didn't understand my question: I know why the function work
in 2nd example. My question was why I'm not getting the result in 1st
example? What am I doing wrong. And, as far as I know, I think it
afan pasalic wrote:
Daniel Brown wrote:
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote:
I think you didn't understand my question: I know why the function work
in 2nd example. My question was why I'm not getting the result in 1st
example? What am I doing wrong. And, as far as I
On Jan 4, 2008 12:28 PM, afan pasalic [EMAIL PROTECTED] wrote:
Daniel Brown wrote:
On Jan 4, 2008 12:06 PM, afan pasalic [EMAIL PROTECTED] wrote:
hi
I have function
function get_content($client_id, $form_id, $index1)
{
$query = mysql_query(
SELECT
Daniel Brown wrote:
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote:
I think you didn't understand my question: I know why the function work
in 2nd example. My question was why I'm not getting the result in 1st
example? What am I doing wrong. And, as far as I know, I think it
Jim Lucas wrote:
afan pasalic wrote:
Daniel Brown wrote:
On Jan 4, 2008 12:52 PM, afan pasalic [EMAIL PROTECTED] wrote:
I think you didn't understand my question: I know why the function work
in 2nd example. My question was why I'm not getting the result in 1st
example? What am I doing
14 matches
Mail list logo