Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

MySQL query is not POST'ing successfully to another MySQL query

Hi there,   I've got a PHP page (salesperf.php) that consists of a number of HTML forms that POST (mostly html select values) to another PHP page (salesdayvsday.php) where the majority of the MySQL...

View Article


"unexplained" errors in apache error_log

Hi,Would anyone have an idea why this code should cause errors to appear in the apache error_log file?   echo <<<REMAINING_FIELDS2 <table style="$tblBkgrnd height:10px;...

View Article


Image may be NSFW.
Clik here to view.

Help plz: Warning: mysql_num_rows() expects parameter 1 to be resource,...

Im having a problem with this, if anyone could help i would be greatful       Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/hkdropbo/public_html/Register.php on...

View Article

Ho can I recognise a site visitor

Hi What's the best way to set up a site so that it recognises whether a visitior is subscribed to my site and then delivers them to a specific page?   On similar sites i don't see a cookie that holds...

View Article

Form to add multiple records to MySql

Hi,   I have an html form that has 10 text field for trhe user too enter dates into. When the user clicks the submit button each text field should be added as a new record to a mysql table.  The way I...

View Article


Vanity URL

I need help with a vanity url .htaccess   I have a profile based site that I want to open up the profile using the url and the member profile name   example: http://example.com/member   Then I want to...

View Article

PHP curl and GET

I am trying to add a request header that is generated when a user searches an airport code in the form using weather.com. I have successfully curled the first page, but i am not sure how to implement...

View Article

Why save database ownly one field.

<html> <head> <title>Uue firma loomine</title> <meta name="description" content="Uue firma loomine"> <meta name="author" content="uus"> </head> <body>...

View Article


Need Help problem in downl

<html> <head></head> <body> <form method="post" enctype="multipart/form-data"> <table width="350" border="0" cellpadding="1" cellspacing="1" class="box"> <tr>...

View Article


unique visits per 24hr

Hiii every one i'm trying to count the impression of the specific image once in 24hr.   here is the code <?php require_once '../dbconfig.php'; $mid = $_REQUEST['id']; <-------------------------...

View Article

Header re-direct code for ecommerce platform move

Hey guys,   This is a hit-and-hope post as I'm not sure if it's possible due to my lack of knowledge with PHP.   I'm re-building an Ecommerce site from Prestashop to Opencart and it has over 1,000...

View Article

error message help? :((

so im connecting my netbeans php to phpmyadmin (database).. now in this i am trying to create a php code  statement which will take the inserted data into the html fields and insert them into my...

View Article

create row on per timing

Hi guys, I am working on my tv guide website that I output the data to my php from mysql database. I want to know how i can work it out the tv time for per programme how long they would last for, e.g...

View Article


PHP coding help .. ? query and if statements playing up

so im connecting my netbeans php to phpmyadmin (database).. now in this i am trying to create a php code  statement which will take the inserted data into the html fields and insert them into my...

View Article

mysql_num_rows depreciation/removal

Does anyone know what mysql_num_rows has been changed to, and how to write it out for newer versions of PHP base?  

View Article


php update user profile tutorial

Hi everyone,   So after searching for hours and hours trying to find a php tutorial that will guide me through how to create a page where once a user is logged in can actually update their details, i...

View Article

binding a date variable and inserting to sql table

I'm using a jquery datepicker, that outputs dates in the following format 04/30/2013   I've set the date column in mysql table as a date type, however when I  submit the above date to the table all I...

View Article


substr() not working?

So I'm tried to make a script that grabs html from a page and echos a part of it. I wanted to make it start before <h1 class="ttl"> and end before <b>Tagged as</b>. Heres what I have:...

View Article

Help - parse text file, find keyword

I am looking for a way to parse a file that contains a lot of text that is comma separated, yet it is not a csv.  What i want is to find a keyword then echo that keyword and a few characters after that...

View Article

Image may be NSFW.
Clik here to view.

Javascript to PHP

Hey guys,   I am probably about to ask too much but I really do not know where to start so I am asking for help. I have a javascript code that stores an array of 366 quotes. One per day(including leap...

View Article
Browsing all 13200 articles
Browse latest View live