Hi, In my php.ini, allow_call_time_pass_reference is set to off..
Is it possible to turn it on for a single page, that is, in the run time?
Type: Posts; User: borris83; Keyword(s):
Hi, In my php.ini, allow_call_time_pass_reference is set to off..
Is it possible to turn it on for a single page, that is, in the run time?
The value of $xpath has been set somewhere else in the page code and not in the body section of your page....
Check for any other php code in the head section..
When you include test2.php, test2.php becomes a part of index.php... So, it executes all the lines as if it were a part of index.php...
So, code in test2.php should be
...
Where are the values of $region_url_west and $region_url_east coming from? How are you using $post_to in your code?
You have only posted a part of code and the problem is actually in the part of...
No, that won't be possible with 'IN' operator in sql...
Instead, you can try this way:
foreach $sessProduct as $key
{
$getSessionItems = mysql_query("SELECT * FROM products WHERE id =...
Replace the line
$space.= "\n";
with
$space.= chr(13) . chr(10);
It will work.. I tested with your code.
try saving the file in this directory:
/usr/home/n****e/public_html/clients/o*****k/a****e/
Because this is where the php script is looking for the file...
Your script is fine.. But I think the problem is with the file name....
Try echoing $file or just look at the url and see what it says after file=
This file should exist in the same folder...
Yes, But I am asking,why is it so? There should be a rule about where single quotes are acceptable and where they are not
Try the following in line 32
echo $_display['professional']
It will definitely work (remove the quotes)
This is strange anyway, because
If you assign $something = "something";
and type ...
Say I have a query:
SELECT * FROM my_table WHERE my_name = 'borris'
What is the difference between enclosing borris in single quotes like this: 'borris' and enclosing with backticks: ...
Hi,
I can help you in SEO, especially in increasing backlinks to your page, creating text ads for adwords, submitting your site to search engines etc ...
You can email me at "borris83" ....
Hi.. I am wondering why no one replied.. Are there only few ASP programmers here?
Yes.. In mysql....
You cannot choose 'VARCHAR' or anything other than 'TEXT'..
You don't have to specify any Length/Values for 'TEXT' but there is no harm in doing so except that it will limit...
I think you are looking for this... This won't redirect the page using header() function but echo a html link dynamically depending on what is after www.example.com/thankyou.php?link=
You can...
yes... you can store html code of whole web page in a field... the type of field should be 'text' so that unlimited amount of text can be stored...
It can be very long, include javascript and...
This is my way of doing this...
Create a table called 'pages' which should have rows for each page
The fields in each row should be an id, a name which is the actual name of the php file,...
it doesn't have to be different pages like checkout-en.php,checkout-fr.php,checkout-it.php,checkout-de.php,checkout-ru.php,checkout-nl.php
but it can be something like checkout.php?lan=eng
and...
May be you can have a pages table in database, with fields for each language....
You can maintain the language in a session variable (like $_SESSION['language'] = English)
And you can...
hi.. sorry, that was my mistake.. I copied and pasted few things from your code and forgot to clear out the </th> which u had used for table header
Now I edited my post and removed < /th>
This code will not populate the page but it will insert values into the database from the data submitted using form..
Instead, modify the following code and use it
<?php
...
Just got it fixed, but I just came to know something after 1 month of programming...
the single quote didn't work in my above SQL query but this ` character which is on the tilde key works...
...
Please anyone help.. I have the exact same error and I am trying to search google for past half an hour because If I just got this one line to be working then I would have finished some important...
I never thought about doing it this way... I will try that
I am maintaining a workstation inventory in my office and I store the name of the products in some variables and in an array.. I include the file in lot of pages to display the table header etc...
...