Jump to content

mrneilrobinson

Members
  • Posts

    15
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mrneilrobinson's Achievements

Member

Member (2/5)

0

Reputation

  1. hi there, does anyone know how to add an image to overlay over another image in php? i wish to have an image such as a pencil, with user able to upload their logo as a png which will overlay the image cheers neil
  2. many thanks for your help, homework indeed, however in the brief i was asked to use forums.
  3. Good afternoon What path would I expect the find the php.ini configuration file on a linux server merci neil
  4. Hi, how would i enter a simple set of apache rewrite rules for directing all requests to a php script, excluding any requests to existing files.
  5. do i use two colons as you wrote? apologies, im a bit of a novice
  6. echo print('3').'2'.print('4'); how do i get this code to output 43211? thankyou in advance
  7. hi, what code will fetch contents of an xml file found on a server, and store them into a variable? regards neil
  8. hello ive been asked what regex will validate an email address? im not sure what this means kind regards neil
  9. hi there, ive been asked to call the function 'bar' from the following code, but not sure how to do this? class Foo { public static function bar() { } } kind regards neil robinson
  10. hi there, i am trying to connect to a db, but i am having the following message return: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/sites/furryfrog.co.uk/public_html/aliens/addemail.php on line 20 Error querying database. when i change mysql_query() to mysqli_query() i recieve the following message Fatal error: Call to undefined function: mysqli_connect() in /home/sites/furryfrog.co.uk/public_html/aliens/addemail.php on line 12 i am using php version 4, as parts of the site are built in the cms expression engine that does not support php5 i dont know what avenue to pursue with fixing this error, mysqli or mysql? i hope this makes sense! merci
  11. hi there i am using the code //greater than operator //returns true if left side is greater than the right //returns false here $result = ($mean > $medium); but how do i get it to display the result of true or false? sos regards neil
  12. brilliant thankyou do i need to use both lines of code? and do i need to assign it on just the page that i need the variable on? or once at the start which will cover all pages? cheers
  13. is it possible to use sessions when the data is posted because im struggling with that! do i have the code correct below? <?php session_start ();?> <head>... <body> <?php $name = $_POST['name']; ?> <?php $_POST['name'] = $_SESSION['name']?> </body> </html>
  14. hi there, i am trying to create a story for kids, that collects different information on each page, ie, the first page collects name, then goes to age.php, which collects age, then to gender etc. Whats the best way of using one of the variables on a later page? ie the first age collects a boys name called ben, i wish to say in the third page something like: ben, are you a boy or a girl. cheers
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.