All Questions
38,781
questions with no upvoted or accepted answers
-7
votes
2
answers
332
views
Printing a php variable in a html tag which was already echoed inside a php tag
I am having trouble to print a variable in a html tag which was already echoed in a php tag?I want to print $A variable in h1 tag. my code:
<?php
while($pr = mysql_fetch_assoc($qAccess))
...
-8
votes
2
answers
73
views
Calling a php function after onclick event
I need help.
This PHP code shows me a table with the names of people from MySQL database:
if ($numRows>=1)
{
echo<<<END
<td align="center" bgcolor="e5e5e5">nazwisko</td>
<...
-9
votes
1
answer
79
views
Change the size of header image in all posts in wordpress
I have problems changing the size of the firts image i see in every post, how can i do it? I am using a WordPress Theme, Tortuga1.
I want to change the size of all the header images in all posts i ...
-9
votes
2
answers
1k
views
2 vowels in a word using regex
I am given a sentence and I have to find out the words containing at least 2 vowels and print the same.
Can someone tell me if what I did was right or wrong?
preg_match('/[aeiou].*[aeiou]/')
Will this ...
-9
votes
1
answer
733
views
Upvote / Downvote
im trying to do upvote/downvote system in php. I want to vote the only image what has been voted but unfortunately in my database , all the image is increasing to one.
$con = mysqli_connect("...
-11
votes
1
answer
192
views
Checking if current site is forum
I'm using wordpress and bbPress to write a forum. I have to display an element on this site before header, but only when current site is forum. How can I check if this site is forum ?