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.
-3
votes
0answers
29 views
SQL query wont return any values
I have tried almost everything but the script just doesn't not want to work. the table I'm drawing from is correct as well as the file I use to connect to the database is the same file I use on ...
0
votes
0answers
17 views
Adding elements to a table from an input area
I am trying to have something like the image below in my PHP page.
(The links are in the comments. I was unable to post them here properly)
Once I enter the keyword and hit the "plus" it should ...
0
votes
0answers
13 views
I am receiving this error: parsererror- SyntaxError: Unexpected token “<”, from file get-tweets1.1.php any fix?
I checked with Google Chrome's inspector and that is where the error originates, I can't understand why I am receiving this error. I have been trying many methods to combat this. Please help.
0
votes
0answers
15 views
Delete DB row on back end with <a href></a> on front end
I have a row of links like this:
Delete | Votes (2) | Comments (1)
They are each associated with user posts.
My question is on Delete:
All I want user to do is click it and then this needs to ...
0
votes
0answers
4 views
in() method - Typo3 - queryInterface
if you use the QueryInterface from Typo3 or Flow3 you can look up in the QueryInterface Extbase Dokumentation for all functions you can use. I already created some ANDs, ORs and LogicalNOTs in Flow3 ...
0
votes
1answer
11 views
paging with sql srv
I have found the following code that only show 25 persons on every page.
It shows all the pagenumbers On the top of the page depending of the results.
Eksempel: 1 2 3 4 5 6 7 8 9 10 osv.
But I what ...
0
votes
0answers
10 views
Jquery progressbar not showing up
I have jquery script in a php file:
print "<link rel=\"stylesheet\" href=\"http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css\" /> ...
1
vote
2answers
17 views
replace of chars that appear several times
following:
I have a string which contains many spaces. I want to add a HTML Break "< br />" in the next space-char after every 70 characters of this string for layout reasons. this is how far i'm ...
0
votes
0answers
24 views
jQuery/PHP .ajax() request not processing
I'm trying to insert a user into a database using jQuery and PHP.
The PHP file itself has been tested seperately and works fine, the javascript variables before the ajax request work fine as well.
...
-1
votes
0answers
20 views
How to Store data in an array in Android from php http request
Here is my php code :
<?php
include('connection.php');
$result = mysql_query("SELECT * FROM links");
while($row = mysql_fetch_array($result))
{
$response["title"]=$row['title'];
...
-7
votes
0answers
32 views
A good way to start with OOP PHP programming? [on hold]
Im ready to start learning about Object Oriented Programming & MVC
Can anyone point me to some good resources?
Thanks in advance :)
1
vote
0answers
30 views
Javascript not working on changing textbox value
I have been banging my head on the code and I can't seem to figure out why only part of the javascript works. Here is a section of code
<input type="hidden" name="v" id="v" value=""/> ...
1
vote
1answer
7 views
How to transliterate non-latin scripts?
I'm playing around with transliteration in PHP using iconv. Particularly I want to normalise accented characters and Romanize other scripts from UTF-8 to plain ASCII.
While many characters work, ...
0
votes
1answer
14 views
How to ignore a PHP catchable fatal error from QueryPath?
I'm scraping some data from a website using QueryPath. However, every so often I receive the error message below and the script terminates.
PHP Catchable fatal error: Argument 1 passed to ...
0
votes
3answers
45 views
A div fails to show html when its innerHTML is changed
My div is set up to show a line of text and it does that successfully. Later in the code I set the innerHTML of the div to show 15 lines of text and it only shows the 1st line.
I thought that ...