Tagged Questions
PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP classes, methods, functions, syntax and use.
-1
votes
0answers
10 views
Looping array within oscommerce
I'm having trouble with a while loop that I'm trying to create within oscommerce. I'm trying to pull the 'secondary_id' from each row that has a product ID within the $products_array[$i]['id'] array, ...
-1
votes
0answers
5 views
Send Whole Blog to an Email in Wordpress
I currently have a fully working wordpress site. Right now, I would like to have a button (similar to subscribe to my blog) that will enable the reader to send my whole blog to an email provided by a ...
0
votes
0answers
5 views
What is the benefit of using fputs over echoing to the output buffer opened by fopen
Like the header says, I would like to know the benefit of using fputs over echoing to the output buffer opened by fopen. I posted this question and was advised I should be using fputs. Why?
...
0
votes
0answers
9 views
Sending form data from one server to another
I have a class project. Its not really REQUIRED but it would help my other class members understand how forms work. Its a HTML & CSS class. I only took the class to get the prerequs out of the way ...
0
votes
0answers
8 views
Saving MYSQL CSV to the server
I have some code which i am trying to use to generate a CSV file from MYSQL and then save it to the server. The folder the file is trying to save to has the write property set. however when i run the ...
0
votes
3answers
24 views
jQuery refreshing specific div
So I have a sortable li list that has a series of pages displayed.
When I sort them, my jQuery code calls a php page that updates the order of my pages in the database.
On the same page as the list, ...
0
votes
1answer
18 views
Call to undefined function php
Why do I get this error when the function is defined?
PHP Fatal error: Call to undefined function createCsv() in C:\csv\xml.php on line 14 PHP Stack trace: PHP 1. {main}() C:\csv\xml.php:0
...
0
votes
1answer
18 views
Is it Possible checkbox won't check if there a value in row from database?
Is it Possible checkbox won't check if there a value in row from database?
This is my Example Table
item_name | PR | checkbox |
ballpen | pr100 | □ |
pencil | pr111 | □ ...
0
votes
0answers
7 views
jquery jtable check on sql inserts
This is probabaly a basic request im sure alot of people have implemented on JTABle (jtable.org). I basically want to do a check when adding a new record in the list action file and if the record ...
0
votes
2answers
16 views
How would I display content from a different mysql row in php?
I'm sorry if the title might confuse you, it will make more sense with some context.
In my mysql table I have rows all sorted by id and they have a place for the title, content and date. In my php ...
0
votes
2answers
10 views
unexpected T_String error and rss
I am trying to create this rss feed using php and mysql.
I am recieving the following error though:
"Parse error: syntax error, unexpected T_STRING" - in line 16 which is <?xml.....
i am new to ...
0
votes
0answers
8 views
Apache : RewriteCond to redirect request coming from unknown IP
Suppose I've website www.abcd.com developed with Linux , Apache, PHP & MySQL stack.
I've webpage www.abcd.com/redirect.php created to redirect all unauthorized users.
If request is made website ...
-6
votes
4answers
15 views
Unexpect T String error php [on hold]
I am trying to batch convert set of my xml files to csv.
I get this error..
<?php
foreach (glob("C:\\Users\\jwqfh\\Downloads\\search_result\\*.xml") as $filename) {
$filexml=$filename;
...
0
votes
0answers
7 views
How to read Form Data from headers
In my current application(A), I redirect user to a different website(B) where user logs in with his/her account and finishes some activity and now that website(B) has a button to return my ...
0
votes
0answers
5 views
woocommerce simple cart dropdown with price
sounds easy, right?
problem is I've modified the store to have special pricing for wholesale level users. it works with both my custom code and with the built-in cart widget, but only AFTER clicking ...