Hi All, I will appreciate if someone can point me in the right direction as I know this query is somehow not going to do what I want, Infact its not doing what I want but I cant seems to give my brain a boost to think of a way out.
I basically want the query to return results that are NEXT due...
Thanks Justin. I found this code on my Hosting company's website
ini_set("sendmail_from", "info@seeme.co.uk");
How can I integrate this into my existing code?
Hi,
I have an html form which I need to process and send in an email basically. I usually use Linux Server which works fine with the code below
<p>Thank you <strong><?php echo($name);?> </strong>
<?php
/* This section tries to send the form, if successful a successful message is...
I've just gone to my Hosting company's website to check if its possible to change my php.ini file and this is what they had on their support page
What other direction possible? thanks a lot
ok, i've just created a test.php with the code above this is what I found on the configuration detail.
error_reporting 2047 2047
display_errors On On
display_startup_errors Off Off
in addition, how will I go about editting this file? do I have to contact my Hosting company?
Many Thanks
Justin,
Am not that advance yet, sorry. How do I turn on display_errors and set error_reporting to E_ALL or E_STRICT?
I dont get errors on the page, it just dosnt display the records on the database. basically, its meant to grab all the records on the table where session_id = $cart_id etc...
Thanks for that Justin,
The problem is not even on the sessions it seems because when I echo out the query it seems fine. My guess is the while loop but I just dont know what it is. any suggestion with that?
Thanks once more
Hi all,
I have the code below which worked fine when I was using it on my windows server. However I had a few problem with the windows server then I had to switch to a Linux based server. Once the switch was completed I started having problems with a number of my codes which worked fine...
I've got,
user
title
image
id
As the fields in my database.
My point here is that, should it matter if I have odd number data on the tables? shouldnt it be that even if there were8 records there would be two rows with three records and the last row with just two?
What I want displayed was...
In addition to the above problem, the code is not code is not also allowing me to display associated data below each record which is the aim really ie,
Id:112 | Id002 | id005
William John Julie
Am not sure if you would understand the above example.
Thanks Justin
Any idea why its not looping through?
its only coming up with the first 3 records even though there are 8 records in total and its suppose to move to the next three records and the next 3 etc.
Hi Justin,
I found it already, just did a qucick search on google and it came up. Thanks any way.
Now a different problem. This is what the code looks like now.
<?php require_once('Connections/Connection.php');?>
<?php
mysql_select_db($database_Connection, $Connection);
$sql =...
Update:
I changed the code a little to
$sql = "SELECT * FROM videos";
$result=mysql_query($sql)
or die ("Query Error: " . mysql_error());
Now I just Get the error message: Query Error: No database selected
Which is very wiered. any sugestions?
Thanks
Hi Justin,
Thanks for that.
I however get this error :
Parse error: parse error, unexpected ';', expecting ')' in /home/fhlinux175/s/seevision.co.uk/user/htdocs/New/pages/test2.php on line 12
Line 12 being:
for($i=0; $i <$num_cols; $i++;){
Here is another version I was toying around with...
Hi,
I've always wondered how this is done and cant seems to grasp it.
When I query my DB, how can I go about displaying each record with its attributes i.e Student one name DOB etc, Then Student 2 Name DOB etc, Student 3 Name DOB etc before creating a new row and repeat the process?
Basically...
Hi Justin,
Itsworking now!!! thanks a million. The problem was the session value wasnt passing through. I changed the session from
if (session_name() == '') {session_start();}
to this version
if(!isset($HTTP_COOKIE_VARS['cart_id'])) {
$cart_id = md5(uniqid(rand()))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.